This commit is contained in:
2023-04-01 23:12:58 +08:00
parent 6ec7d346de
commit 8049805435
3 changed files with 43 additions and 22 deletions
+2
View File
@@ -172,6 +172,8 @@ class CoroutineServer implements ServerInterface
Coroutine\run(function () {
$this->dispatch->dispatch(new OnServerBeforeStart());
$this->onSignal(Config::get('signal', []));
$this->onTasker();
foreach ($this->servers as $server) {
Coroutine::create(function () use ($server) {