This commit is contained in:
as2252258@163.com
2021-02-27 04:54:32 +08:00
parent 2c46dd4e57
commit d98c7ee714
+3 -3
View File
@@ -39,9 +39,9 @@ class OnWorkerStart extends Callback
{ {
Coroutine::set([ Coroutine::set([
'enable_deadlock_check' => false, 'enable_deadlock_check' => false,
// 'exit_condition' => function () { 'exit_condition' => function () {
// return Coroutine::stats()['coroutine_num'] === 0; return Coroutine::stats()['coroutine_num'] === 0;
// } }
]); ]);
putenv('workerId=' . $worker_id); putenv('workerId=' . $worker_id);