We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 67155c6 + 0a75947 commit c77aab6Copy full SHA for c77aab6
lib/private/Files/Cache/Updater.php
@@ -27,7 +27,7 @@
27
*/
28
namespace OC\Files\Cache;
29
30
-use OC\DB\Exceptions\DbalException;
+use Doctrine\DBAL\Exception\DeadlockException;
31
use OC\Files\FileInfo;
32
use OCP\Files\Cache\ICacheEntry;
33
use OCP\Files\Cache\IUpdater;
@@ -260,7 +260,7 @@ private function correctParentStorageMtime($internalPath) {
260
if ($mtime !== false) {
261
try {
262
$this->cache->update($parentId, ['storage_mtime' => $mtime]);
263
- } catch (DbalException $e) {
+ } catch (DeadlockException $e) {
264
// ignore the failure.
265
// with failures concurrent updates, someone else would have already done it.
266
// in the worst case the `storage_mtime` isn't updated, which should at most only trigger an extra rescan
0 commit comments