From a15a4ed2bb73364bf10fc08e08b9e69a38449865 Mon Sep 17 00:00:00 2001 From: Elijah Date: Mon, 9 Dec 2024 23:15:18 +0400 Subject: [PATCH] reduce lock expiration time to 1s --- reflex/constants/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reflex/constants/config.py b/reflex/constants/config.py index 970e67844..234ecbd84 100644 --- a/reflex/constants/config.py +++ b/reflex/constants/config.py @@ -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