reduce lock expiration time to 1s

This commit is contained in:
Elijah 2024-12-09 23:15:18 +04:00
parent 3d89d74bdc
commit a15a4ed2bb

View File

@ -26,7 +26,7 @@ class Expiration(SimpleNamespace):
# Token expiration time in seconds
TOKEN = 60 * 60
# Maximum time in milliseconds that a state can be locked for exclusive access.
LOCK = 10000
LOCK = 1000
# The PING timeout
PING = 120