This commit is contained in:
2021-02-24 14:27:16 +08:00
parent 17058e9e41
commit cf04916726
+1 -1
View File
@@ -31,7 +31,7 @@ class ObjectPool extends \Snowflake\Abstracts\Pool
{
$this->max = 5000;
listen(Event::EVENT_AFTER_REQUEST, [$this, 'destruct']);
listen(Event::SYSTEM_RESOURCE_RELEASES, [$this, 'destruct']);
parent::__construct($config);
}