change draining state

This commit is contained in:
Your Name
2026-06-14 03:28:16 -04:00
parent 759a1a4089
commit 5e663c68be
+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