Revert "改名"

This reverts commit fdf58326
This commit is contained in:
2022-01-20 19:04:15 +08:00
parent b10ffd832a
commit 5aa5d3ea13
4 changed files with 24 additions and 21 deletions
+3 -3
View File
@@ -28,9 +28,9 @@ class DatabasesProviders extends Providers
*/
public function onImport(Application $application)
{
$this->eventProvider->on(OnWorkerStart::class, [$this, 'createPool']);
$this->eventProvider->on(OnProcessStart::class, [$this, 'createPool']);
$this->eventProvider->on(OnTaskerStart::class, [$this, 'createPool']);
$this->getEventProvider()->on(OnWorkerStart::class, [$this, 'createPool']);
$this->getEventProvider()->on(OnProcessStart::class, [$this, 'createPool']);
$this->getEventProvider()->on(OnTaskerStart::class, [$this, 'createPool']);
}