mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-27 18:10:37 +00:00
Make safekeeper exit code 0.
We don't have any useful graceful shutdown mode, so immediate one is normal. https://github.com/neondatabase/neon/issues/2956
This commit is contained in:
@@ -264,10 +264,10 @@ fn start_safekeeper(mut conf: SafeKeeperConf, given_id: Option<NodeId>, init: bo
|
||||
signals.handle(|signal| {
|
||||
// TODO: implement graceful shutdown with joining threads etc
|
||||
info!(
|
||||
"Got {}. Terminating in immediate shutdown mode",
|
||||
"received {}, terminating in immediate shutdown mode",
|
||||
signal.name()
|
||||
);
|
||||
std::process::exit(111);
|
||||
std::process::exit(0);
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user