Преглед изворни кода

reduce lock expiration time to 1s (#4507)

Elijah Ahianyo пре 5 месеци
родитељ
комит
6e3e632bbd
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      reflex/constants/config.py

+ 1 - 1
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