This commit is contained in:
2021-02-26 19:55:36 +08:00
parent 6e3ecce453
commit 4065d2c4dc
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -65,6 +65,7 @@ class OnWorkerStart extends Callback
if ($sigkill === false) {
return $server->stop($workerId);
}
var_dump(Snowflake::app()->isRun());
while (Snowflake::app()->isRun()) {
Coroutine::sleep(0.01);
}