From f8a2826f7f8c0a299bcc29f2e447dad2f727187d Mon Sep 17 00:00:00 2001 From: alex-z Date: Wed, 6 Sep 2023 12:12:08 +0200 Subject: [PATCH] Remove locketimeout condition. Signed-off-by: alex-z --- src/libsync/lockfilejobs.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/libsync/lockfilejobs.cpp b/src/libsync/lockfilejobs.cpp index 4bae184ec1609..77f01c3ba034b 100644 --- a/src/libsync/lockfilejobs.cpp +++ b/src/libsync/lockfilejobs.cpp @@ -165,10 +165,6 @@ SyncJournalFileRecord LockFileJob::handleReply() if (_lockTime <= 0) { return record; } - - if (_lockTimeout <= 0) { - return record; - } } const auto relativePathInDb = path().mid(_remoteSyncPathWithTrailingSlash.size());