This commit is contained in:
as2252258@163.com
2021-02-28 00:32:38 +08:00
parent 2ac21328f6
commit bc2c2df60f
+1 -1
View File
@@ -10,6 +10,7 @@ use Snowflake\Abstracts\Config;
use Snowflake\Event;
use Snowflake\Snowflake;
use Swoole\Coroutine;
use Swoole\Process;
use Swoole\Server;
class OnManagerStart extends Callback
@@ -30,7 +31,6 @@ class OnManagerStart extends Callback
$prefix = Config::get('id', false, 'system:');
name($prefix . ': Server Manager.');
}
Coroutine::waitPid($server->manager_pid);
}
}