mirror of
https://gitlab.com/famedly/conduit.git
synced 2024-11-04 17:29:14 +01:00
review feedback
This commit is contained in:
parent
3ce75d1f02
commit
faa283d35b
1 changed files with 2 additions and 4 deletions
|
@ -272,10 +272,8 @@ fn default_config() -> rocket::Config {
|
|||
{
|
||||
use rocket::config::Sig;
|
||||
|
||||
let signals = &mut shutdown.signals;
|
||||
|
||||
signals.insert(Sig::Term);
|
||||
signals.insert(Sig::Int);
|
||||
shutdown.signals.insert(Sig::Term);
|
||||
shutdown.signals.insert(Sig::Int);
|
||||
}
|
||||
|
||||
// Once shutdown is triggered, this is the amount of seconds before rocket
|
||||
|
|
Loading…
Reference in a new issue