Skip to content

Commit

Permalink
reduce timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrd committed Dec 17, 2023
1 parent e332ba1 commit 6e7f707
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dictdatabase/locking.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

# Constants
SLEEP_TIMEOUT = 0.001 * 1 # (ms)
LOCK_KEEP_ALIVE_TIMEOUT = 0.001 * 0.1 # (ms)
LOCK_KEEP_ALIVE_TIMEOUT = 0.001 * 0.08 # (ms)

# Duration to wait updating the timestamp of the lock file
ALIVE_LOCK_REFRESH_INTERVAL_NS = 1_000_000_000 * 10 # (s)
Expand Down

0 comments on commit 6e7f707

Please sign in to comment.