Skip to content

Commit

Permalink
Remove SIGKILL handling from reactphp (#136)
Browse files Browse the repository at this point in the history
Co-authored-by: Alexander Schranz <alexander@sulu.io>
  • Loading branch information
ash-m and alexander-schranz authored Oct 26, 2023
1 parent 0ebd80c commit b5f4e09
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/reactphp/src/ServerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ public function createServer(RequestHandlerInterface $requestHandler): LoopInter
$loop->addSignal(SIGTERM, function (int $signal) {
exit(128 + $signal);
});
$loop->addSignal(SIGKILL, function (int $signal) {
exit(128 + $signal);
});
$server = new HttpServer($loop, function (ServerRequestInterface $request) use ($requestHandler) {
return $requestHandler->handle($request);
});
Expand Down

0 comments on commit b5f4e09

Please # to comment.