Skip to content

Commit

Permalink
Upon shutdown signalling exit process via loop exit and not via proce…
Browse files Browse the repository at this point in the history
…ss exit syscall
  • Loading branch information
Shourya742 committed Jan 24, 2025
1 parent 9c87f8d commit 643d16f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/jd-client/src/lib/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ impl JobDeclaratorClient {
},
_ = self.shutdown.notified().fuse() => {
info!("Shutting down gracefully...");
std::process::exit(0);
break 'outer;
}
};
}
Expand Down

0 comments on commit 643d16f

Please sign in to comment.