Răsfoiți Sursa

Revert "reduce lock expiration time to 1s (#4507)" (#4514)

This reverts commit 6e3e632bbd64edaee5db85f3edb2be3de4a9e371.
Masen Furer 5 luni în urmă
părinte
comite
37af2ee1ec
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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 = 1000
+    LOCK = 10000
     # The PING timeout
     PING = 120