This commit is contained in:
as2252258@163.com
2021-02-27 04:20:20 +08:00
parent 8a6779b731
commit 98c5797c4f
+1
View File
@@ -41,6 +41,7 @@ class OnWorkerStart extends Callback
if (!empty($get_name) && !Snowflake::isMac()) {
swoole_set_process_name($get_name);
}
Coroutine\go(function () use ($server) {
var_dump(Coroutine::waitPid($server->worker_pid));
$server->stop();