安徽博创起重服务端程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

16 lines
334 B

<?php
namespace think\swoole\pool;
use think\swoole\pool\proxy\Store;
class Cache extends \think\Cache
{
protected function createDriver(string $name)
{
return new Store(function () use ($name) {
return parent::createDriver($name);
}, $this->app->config->get('swoole.pool.cache', []));
}
}