reduce lock expiration time to 1s (#4507)
This commit is contained in:
parent
05b791653e
commit
6e3e632bbd
@ -26,7 +26,7 @@ class Expiration(SimpleNamespace):
|
|||||||
# Token expiration time in seconds
|
# Token expiration time in seconds
|
||||||
TOKEN = 60 * 60
|
TOKEN = 60 * 60
|
||||||
# Maximum time in milliseconds that a state can be locked for exclusive access.
|
# Maximum time in milliseconds that a state can be locked for exclusive access.
|
||||||
LOCK = 10000
|
LOCK = 1000
|
||||||
# The PING timeout
|
# The PING timeout
|
||||||
PING = 120
|
PING = 120
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user