Skip to content

Commit 7adcaf4

Browse files
committed
add an actual sleep clause
1 parent 31b0fc6 commit 7adcaf4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/durable_queue.clj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,7 @@
553553
(while (.get ref)
554554
(when-let [q (.get ref)]
555555
(try
556+
(Thread/sleep fsync-interval)
556557
(fsync q)
557558
(catch Throwable e
558559
)))))))

0 commit comments

Comments
 (0)