改名
This commit is contained in:
@@ -64,8 +64,8 @@ class OnWorkerStart extends Callback
|
|||||||
if ($sigkill === false) {
|
if ($sigkill === false) {
|
||||||
return $server->stop($workerId);
|
return $server->stop($workerId);
|
||||||
}
|
}
|
||||||
while ($server->stats()['coroutine_num'] > 1) {
|
while ($server->stats()['coroutine_num'] > 0) {
|
||||||
Coroutine::sleep(0.01);
|
sleep(0.01);
|
||||||
}
|
}
|
||||||
return $server->stop($workerId);
|
return $server->stop($workerId);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user