Skip to content

Commit

Permalink
backfill node info support using data.bayme.sh/api
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinelliott committed Jul 7, 2024
1 parent f8b382e commit 96eb785
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ def save():
since_last_backfill = (save_start - last_backfill).total_seconds()
print(f"Since last - data save: {since_last_data}, render: {since_last_render}, backfill: {since_last_backfill}")

if since_last_backfill >= 3600:
if since_last_backfill >= 900:
backfill_node_infos()
end = datetime.datetime.now(ZoneInfo(config['server']['timezone']))
print(f"Backfilled in {round(end.timestamp() - save_start.timestamp(), 3)} seconds")
Expand Down

0 comments on commit 96eb785

Please sign in to comment.