mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-15 13:16:56 +00:00
review feedback
This commit is contained in:
1 parent
3ce75d1f02
commit
faa283d35b
1 file changed
+2
-4
+2
-4
@@ -272,10 +272,8 @@ fn default_config() -> rocket::Config {
|
|||||||
{
|
{
|
||||||
use rocket::config::Sig;
|
use rocket::config::Sig;
|
||||||
|
|
||||||
let signals = &mut shutdown.signals;
|
shutdown.signals.insert(Sig::Term);
|
||||||
|
shutdown.signals.insert(Sig::Int);
|
||||||
signals.insert(Sig::Term);
|
|
||||||
signals.insert(Sig::Int);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Once shutdown is triggered, this is the amount of seconds before rocket
|
// Once shutdown is triggered, this is the amount of seconds before rocket
|
||||||
|
|||||||
Reference in new issue
Block a user