Added Lock Unittests & Bugfixings
Added Redis Lock Unittests Added Memcached Lock Unittests Fixed a bug in dba Fixed a bug in RedisLock
This commit is contained in:
@@ -18,6 +18,7 @@ abstract class AbstractCacheDriver extends BaseObject
|
||||
* @return string The cache key used for the cache
|
||||
*/
|
||||
protected function getCacheKey($key) {
|
||||
// We fetch with the hostname as key to avoid problems with other applications
|
||||
return self::getApp()->get_hostname() . ":" . $key;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user