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