feat: GET /api/getWhitelist (walletList) + WalletAdmin; verifier grace no longer resurrects false rows
This commit is contained in:
1 parent
7ae6b8f4f8
commit
b00bd4f740
7 files changed
+83
-8
No files matched your search
+1
-1
@@ -78,7 +78,7 @@ class Verifier(threading.Thread):
|
||||
else:
|
||||
fails = self._fail_counts.get(key, 0) + 1
|
||||
self._fail_counts[key] = fails
|
||||
live = fails < GRACE_PASSES
|
||||
live = fails < GRACE_PASSES and bool(item.is_live)
|
||||
if bool(item.is_live) != live:
|
||||
item.is_live = live
|
||||
logger.info("%s is_live -> %s (%s)", key, live, self._label(item))
|
||||
|
||||
Reference in new issue
Block a user