This commit is contained in:
2021-02-23 16:39:27 +08:00
parent 3a2c2aca6b
commit 3cef44886d
2 changed files with 7 additions and 8 deletions
-1
View File
@@ -37,7 +37,6 @@ 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']);
}