Skip to content

Commit

Permalink
fix: remove SIGKILL
Browse files Browse the repository at this point in the history
  • Loading branch information
linyyyang committed Nov 16, 2022
1 parent 29b9287 commit 19ba943
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/terminus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @Usage:
* @Author: richen
* @Date: 2021-06-28 14:49:46
* @LastEditTime: 2022-11-16 16:11:29
* @LastEditTime: 2022-11-16 17:41:03
*/
import EventEmitter from "events";
import { DefaultLogger as Logger } from "koatty_logger";
Expand All @@ -12,7 +12,7 @@ import { KoattyServer } from "koatty_core";

/** @type {*} */
const terminusOptions = {
signals: ["SIGINT", "SIGTERM", "SIGKILL"],
signals: ["SIGINT", "SIGTERM"],
// cleanup options
timeout: 60000, // [optional = 1000] number of milliseconds before forceful exiting
onSignal, // [optional] cleanup function, returning a promise (used to be onSigterm)
Expand Down

0 comments on commit 19ba943

Please sign in to comment.