This commit is contained in:
2021-02-23 16:29:48 +08:00
parent 8b84c03a7b
commit 3a2c2aca6b
+1
View File
@@ -37,6 +37,7 @@ class DatabasesProviders extends Providers
$event->on(Event::SERVER_WORKER_START, [$this, 'createPool']);
$event->on(Event::SERVER_TASK_START, [$this, 'createPool']);
$event->on(Event::SERVER_BEFORE_START, [$this, 'scanModel']);
$event->on(Event::SERVER_WORKER_START, [$this, 'scanModel']);
$event->on(Event::SERVER_TASK_START, [$this, 'scanModel']);
}