This commit is contained in:
2021-01-04 17:16:54 +08:00
parent 0d848dc5f1
commit 2d97c3fe92
4 changed files with 4 additions and 0 deletions
+1
View File
@@ -30,6 +30,7 @@ class DatabasesProviders extends Providers
$event = Snowflake::app()->getEvent();
$event->on(Event::SERVER_WORKER_START, [$this, 'createPool']);
$event->on(Event::SERVER_TASK_START, [$this, 'createPool']);
}