reduce lock expiration time to 1s (#4507)

This commit is contained in:
Elijah Ahianyo 2024-12-10 17:15:22 +00:00 committed by GitHub
parent 05b791653e
commit 6e3e632bbd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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