diff options
-rw-r--r-- | synchronizer/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synchronizer/main.cpp b/synchronizer/main.cpp index 2b0cfe3..db74960 100644 --- a/synchronizer/main.cpp +++ b/synchronizer/main.cpp | |||
@@ -45,7 +45,7 @@ int main(int argc, char *argv[]) | |||
45 | const QByteArray instanceIdentifier = argv[1]; | 45 | const QByteArray instanceIdentifier = argv[1]; |
46 | 46 | ||
47 | QLockFile lockfile(instanceIdentifier + ".lock"); | 47 | QLockFile lockfile(instanceIdentifier + ".lock"); |
48 | lockfile.setStaleLockTime(0); | 48 | lockfile.setStaleLockTime(500); |
49 | if (!lockfile.tryLock(0)) { | 49 | if (!lockfile.tryLock(0)) { |
50 | Warning() << "Failed to acquire exclusive lock on socket."; | 50 | Warning() << "Failed to acquire exclusive lock on socket."; |
51 | return -1; | 51 | return -1; |