Version 4.3.6
This commit is contained in:
1 parent
fe1acf984a
commit
1a0c7fd3c2
609 files changed
+14707
-5726
No files matched your search
@@ -31,7 +31,12 @@ class _Redis extends \IPS\Data\Cache
|
||||
{
|
||||
try
|
||||
{
|
||||
\IPS\Redis::i();
|
||||
$connection = \IPS\Redis::i()->connection('write');
|
||||
|
||||
if( !$connection )
|
||||
{
|
||||
throw new \RedisException;
|
||||
}
|
||||
}
|
||||
catch( \RedisException $e )
|
||||
{
|
||||
@@ -48,6 +53,16 @@ class _Redis extends \IPS\Data\Cache
|
||||
{
|
||||
return class_exists('Redis');
|
||||
}
|
||||
|
||||
/**
|
||||
* Needs cache key check with this storage engine to maintain integrity
|
||||
*
|
||||
* @return boolean
|
||||
*/
|
||||
public function checkKeys()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Configuration
|
||||
|
||||
Reference in new issue
Block a user