diff --git a/README.md b/README.md index 3de1a90..8ddc3c4 100644 --- a/README.md +++ b/README.md @@ -104,6 +104,7 @@ interface IGracefulShutdownConfigOptions { /** * If set to `true`, the Node process will not be terminated * by a shutdown signal after closing all connections. + * The shutdown behavior is identical to invoking `app.close()`. * Defaults: false. */ keepNodeProcessAlive?: boolean; diff --git a/package.json b/package.json index 807e14f..c3ff58f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nestjs-graceful-shutdown", - "version": "1.0.0", + "version": "1.0.1", "description": "A powerful package for gracefully shutting down NestJS applications", "main": "build/main/index.js", "types": "build/main/index.d.ts", diff --git a/src/lib/graceful-shutdown.interface.ts b/src/lib/graceful-shutdown.interface.ts index fb74c2a..21f7a23 100644 --- a/src/lib/graceful-shutdown.interface.ts +++ b/src/lib/graceful-shutdown.interface.ts @@ -19,6 +19,7 @@ export interface IGracefulShutdownConfigOptions { /** * If set to `true`, the Node process will not be terminated * by a shutdown signal after closing all connections. + * The shutdown behavior is identical to invoking `app.close()`. * Defaults: false. */ keepNodeProcessAlive?: boolean;