Navigation Menu

Skip to content

Commit

Permalink
Update Worker.php
Browse files Browse the repository at this point in the history
  • Loading branch information
walkor committed Aug 2, 2019
1 parent a3536b8 commit 17b8cf0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Worker.php
Expand Up @@ -1090,6 +1090,8 @@ protected static function reinstallSignal()
pcntl_signal(SIGQUIT, SIG_IGN, false);
// uninstall status signal handler
pcntl_signal(SIGUSR2, SIG_IGN, false);
// uninstall connections status signal handler
pcntl_signal(SIGIO, SIG_IGN, false);
// reinstall stop signal handler
static::$globalEvent->add(SIGINT, EventInterface::EV_SIGNAL, array('\Workerman\Worker', 'signalHandler'));
// reinstall graceful stop signal handler
Expand Down

0 comments on commit 17b8cf0

Please sign in to comment.