|
|
@@ -28,13 +28,14 @@ class AccountInfo:
|
|
|
|
|
|
_AUTH_BREAKER_LOCK = threading.Lock()
|
|
|
_AUTH_BREAKER_NEXT_ALLOWED: dict[str, float] = {}
|
|
|
-_AUTH_BREAKER_SECONDS = 5.0
|
|
|
+_AUTH_BREAKER_SECONDS = 0.10
|
|
|
_NONCE_LOCK = threading.Lock()
|
|
|
_LAST_NONCE_BY_SCOPE: dict[str, int] = {}
|
|
|
|
|
|
|
|
|
def _nonce_now_ms() -> int:
|
|
|
- return time.time_ns() // 1_000_000
|
|
|
+# return time.time_ns() // 1_000_000
|
|
|
+ return time.time_ns()
|
|
|
|
|
|
|
|
|
def _next_nonce(scope: str) -> int:
|