diff --git a/stats-backend/collector/tasks.py b/stats-backend/collector/tasks.py index 241c9b2..8093bc9 100644 --- a/stats-backend/collector/tasks.py +++ b/stats-backend/collector/tasks.py @@ -1095,7 +1095,7 @@ def v1_offer_scraper_hybrid(): serialized = json.loads(content) online_node_count = Node.objects.filter(online=True, hybrid=True).count() # Stabilize the chart when running multiple scanners by checking if its atleast 90% of the nodes online before updating. There's a risk that it won't update if more than 10% of the network drops within a single minute. - if len(serialized) >= online_node_count * 0.60: + if len(serialized) >= online_node_count * 0.90: print(f"Updating database with {len(serialized)} nodes.") nodes_to_update = [] offline_nodes = set(