mirror of
https://github.com/friendica/friendica
synced 2025-04-25 03:50:12 +00:00
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:
parent
e719a25082
commit
1ffe0cfd81
10 changed files with 114 additions and 70 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue