initialize unused (for now) ttl field to 0
This commit is contained in:
parent
96a9d171b3
commit
c39ded21d2
|
@ -38,7 +38,7 @@ class DBLockingProvider extends AbstractLockingProvider {
|
|||
}
|
||||
|
||||
protected function initLockField($path) {
|
||||
$this->connection->insertIfNotExist('*PREFIX*file_locks', ['path' => $path, 'lock' => 0], ['path']);
|
||||
$this->connection->insertIfNotExist('*PREFIX*file_locks', ['path' => $path, 'lock' => 0, 'ttl' => 0], ['path']);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue