2017-09-25 9 views
0

グーグルで試行しましたが、失敗しました。Fusio apiキャッシュ設定

Fusioにredisを使用する方法

//'psx_cache_factory'  => null, 

このdoesntの仕事:

'psx_cache_factory'  => 'redis' 

これもdoesntの仕事:開発者が回答

'psx_cache_factory'  => 'redis://127.0.0.1:6379', 
+0

[Fusio認証が失敗]に私を助けてください(https://stackoverflow.com/questions/47028566/fusio-authentication-failed) –

答えて

0

Github

'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); 
}, 
関連する問題