[cache] Bump RedisAdapter timeout to 5s
Bump RedisAdapter timeout to 5s because (at least with Predis) 0 means 0s
This commit is contained in:
parent
6ba0414cc0
commit
eaca2a4509
@ -25,8 +25,8 @@ class RedisAdapter extends AbstractAdapter
|
|||||||
private static $defaultConnectionOptions = array(
|
private static $defaultConnectionOptions = array(
|
||||||
'class' => null,
|
'class' => null,
|
||||||
'persistent' => 0,
|
'persistent' => 0,
|
||||||
'timeout' => 0,
|
'timeout' => 30,
|
||||||
'read_timeout' => 0,
|
'read_timeout' => 30,
|
||||||
'retry_interval' => 0,
|
'retry_interval' => 0,
|
||||||
);
|
);
|
||||||
private $redis;
|
private $redis;
|
||||||
|
Reference in New Issue
Block a user