Skip to content

GracefulShutdownOptions

Defined in: src/plugins/application/graceful-shutdown/plugin.ts:5

Property Type Description Inherited from Defined in

forceExit?

boolean

If true, will forcefully exit with the signal’s corresponding exit code after timeout or clean stop.

Default

true

src/plugins/application/graceful-shutdown/plugin.ts:20

path?

string

ShokupanPluginOptions.path

src/util/types.ts:13

signals?

string[]

Process signals to listen for.

Default

['SIGINT', 'SIGTERM']

src/plugins/application/graceful-shutdown/plugin.ts:10

timeout?

number

Maximum time to wait for active connections to close before forcefully exiting (in ms).

Default

30000

src/plugins/application/graceful-shutdown/plugin.ts:15