MCPcopy Index your code
hub / github.com/parse-community/parse-server / handleShutdown

Function handleShutdown

src/ParseServer.ts:680–683  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

678/* istanbul ignore next */
679function configureListeners(parseServer) {
680 const handleShutdown = function () {
681 process.stdout.write('Termination signal received. Shutting down.');
682 parseServer.handleShutdown();
683 };
684 process.on('SIGTERM', handleShutdown);
685 process.on('SIGINT', handleShutdown);
686}

Callers

nothing calls this directly

Calls 1

handleShutdownMethod · 0.45

Tested by

no test coverage detected