This commit is contained in:
2021-04-28 11:31:35 +08:00
parent 685edf8518
commit 9656361b90
+1
View File
@@ -38,6 +38,7 @@ class Redis extends Component
Event::on(Event::SYSTEM_RESOURCE_CLEAN, [$this, 'destroy']);
Event::on(Event::SYSTEM_RESOURCE_RELEASES, [$this, 'release']);
Event::on(Event::SERVER_WORKER_START, [$this, 'createPool']);
Event::on(Event::SERVER_TASK_START, [$this, 'createPool']);
}