This commit is contained in:
2021-03-01 16:18:42 +08:00
parent 7c1a507dad
commit 18c6494331
+1
View File
@@ -100,6 +100,7 @@ class OnWorkerStart extends Callback
if ($server->getWorkerStatus($worker_id) == SWOOLE_WORKER_IDLE) {
return $server->stop($worker_id);
}
while ($receive === true) {
if (!Snowflake::app()->isRun()) {
return $server->stop($worker_id);