change draining state #12

Merged
incentive merged 1 commits from feature/account-lock-session-end-fix into main 2026-06-14 03:43:09 -04:00
+1 -1
View File
@@ -780,7 +780,7 @@ def newserv_account_lock_heartbeat():
SET updated_at = now(),
expires_at = %s
WHERE holder_source = %s
AND state IN ('active', 'draining')
AND state = 'active'
""", (expires_at, source))
refreshed = cur.rowcount