Merge pull request 'change draining state' (#12) from feature/account-lock-session-end-fix into main

Reviewed-on: #12
This commit was merged in pull request #12.
This commit is contained in:
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