wait for whole session to exit when sigterm (#2620)

* wait for whole session to exit when sigterm

* fix lint

* rename poorly named variable
This commit is contained in:
Aiden McClelland
2024-05-16 19:54:36 -06:00
committed by GitHub
parent 0b8a142de0
commit 0ccbb52c1f
3 changed files with 59 additions and 19 deletions

View File

@@ -91,7 +91,7 @@ export type ServiceInterfaceType = "ui" | "p2p" | "api"
export type MainEffects = Effects & { _type: "main" }
export type Signals = NodeJS.Signals
export const SIGTERM: Signals = "SIGTERM"
export const SIGKILL: Signals = "SIGTERM"
export const SIGKILL: Signals = "SIGKILL"
export const NO_TIMEOUT = -1
function removeConstType<E>() {