mirror of
https://github.com/friendica/friendica
synced 2025-04-26 09:10:15 +00:00
Fixings
- fixed test for semaphore - fixed some issues - changed namespace in Tests back to "src/" - changed namings
This commit is contained in:
parent
906bb25972
commit
e41e7d2edd
15 changed files with 67 additions and 65 deletions
|
@ -24,7 +24,7 @@ class CacheLockDriver extends AbstractLockDriver
|
|||
/**
|
||||
* (@inheritdoc)
|
||||
*/
|
||||
public function acquire($key, $timeout = 120)
|
||||
public function acquireLock($key, $timeout = 120)
|
||||
{
|
||||
$got_lock = false;
|
||||
$start = time();
|
||||
|
@ -60,7 +60,7 @@ class CacheLockDriver extends AbstractLockDriver
|
|||
/**
|
||||
* (@inheritdoc)
|
||||
*/
|
||||
public function release($key)
|
||||
public function releaseLock($key)
|
||||
{
|
||||
$cachekey = self::getCacheKey($key);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue