This commit is contained in:
2021-03-02 15:11:43 +08:00
parent 567096d93a
commit bcd5ee5b34
+1
View File
@@ -36,6 +36,7 @@ class DatabasesProviders extends Providers
$event = Snowflake::app()->getEvent();
$event->on(Event::SERVER_WORKER_START, [$this, 'createPool']);
$event->on(Event::SERVER_WORKER_START, [$this, 'scanModel']);
// $event->on(Event::SERVER_TASK_START, [$this, 'scanModel']);
}