This commit is contained in:
2021-03-01 17:19:02 +08:00
parent 52d7d1baa0
commit 4d27fe108b
+1 -1
View File
@@ -94,7 +94,7 @@ class OnWorkerStart extends Callback
*/
public function onSignal(Server $server, $worker_id): mixed
{
$ret = Coroutine::waitSignal($this->signal);
$ret = Coroutine::waitSignal($this->signal, -1);
if ($ret === true) {
$this->ticker();
}