mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-08 08:14:25 +02:00
Adjust update parameters:
-f|--force Force the update command (Even if the database structure matches) -o|--override Override running or stalling updates
This commit is contained in:
parent
7ce549c294
commit
aae58815a8
8 changed files with 26 additions and 26 deletions
|
@ -61,11 +61,11 @@ class CacheLockDriver extends AbstractLockDriver
|
|||
/**
|
||||
* (@inheritdoc)
|
||||
*/
|
||||
public function releaseLock($key, $force = false)
|
||||
public function releaseLock($key, $override = false)
|
||||
{
|
||||
$cachekey = self::getLockKey($key);
|
||||
|
||||
if ($force) {
|
||||
if ($override) {
|
||||
$this->cache->delete($cachekey);
|
||||
} else {
|
||||
$this->cache->compareDelete($cachekey, getmypid());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue