Skip to content
This repository has been archived by the owner on Aug 10, 2022. It is now read-only.

Commit

Permalink
Increase sleep time to avoid occasional concurrent issue
Browse files Browse the repository at this point in the history
  • Loading branch information
blindpirate committed Apr 6, 2017
1 parent 55f1e1d commit 4785f19
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ lastUpdated:
try {
channel = new RandomAccessFile(lockFile, "rw").getChannel()
lock = channel.lock()
Thread.sleep(2000)
Thread.sleep(3000)
} finally {
if (lock != null) {
println("${new Date()}: release ${lockFile.absolutePath}")
Expand Down

0 comments on commit 4785f19

Please sign in to comment.