diff --git a/backend/app.py b/backend/app.py index a65a618..1a77f1a 100644 --- a/backend/app.py +++ b/backend/app.py @@ -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