0
谷歌搜索和尝试,但失败。Fusio api缓存配置
如何配置Fusio以使用redis。
//'psx_cache_factory' => null,
这并不工作:
'psx_cache_factory' => 'redis'
这也行不通:
'psx_cache_factory' => 'redis://127.0.0.1:6379',
谷歌搜索和尝试,但失败。Fusio api缓存配置
如何配置Fusio以使用redis。
//'psx_cache_factory' => null,
这并不工作:
'psx_cache_factory' => 'redis'
这也行不通:
'psx_cache_factory' => 'redis://127.0.0.1:6379',
由开发商回答。
'psx_cache_factory' => function($config, $namespace){
$client = new \Predis\Client([
'scheme' => 'tcp',
'host' => '10.0.0.1',
'port' => 6379,
]);
return new \Doctrine\Common\Cache\PredisCache($client);
},
请帮我[FUSIO认证失败(https://stackoverflow.com/questions/47028566/fusio-authentication-failed) –