initialize unused (for now) ttl field to 0

This commit is contained in:
Robin Appelman 2015-07-16 12:56:22 +02:00
parent 96a9d171b3
commit c39ded21d2
1 changed files with 1 additions and 1 deletions

View File

@ -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']);
}
/**