handleShutdownSignals property

bool get handleShutdownSignals

Whether the server stops itself on SIGTERM / SIGINT.

Container runtimes and process supervisors stop a process by sending SIGTERM, so without this a deploy or scale-down truncates whatever responses were mid-flight. Set to false to own signal handling yourself.

Implementation

bool get handleShutdownSignals => true;