This commit is contained in:
as2252258@163.com
2021-02-27 02:55:46 +08:00
parent 22106cfcdc
commit fe6c2e4a05
+1 -1
View File
@@ -62,7 +62,7 @@ class OnWorkerStart extends Callback
{
go(function () use ($server, $workerId) {
try {
$sigkill = Coroutine::waitSignal(SIGKILL | SIGUSR1, -1);
$sigkill = Coroutine::waitSignal(SIGKILL | SIGUSR1);
if ($sigkill !== false) {
while (Snowflake::app()->isRun()) {
Coroutine::sleep(1);