Skip to content

Commit

Permalink
add sleeper to fetch once second
Browse files Browse the repository at this point in the history
  • Loading branch information
maestroi committed Jan 13, 2024
1 parent 62d0147 commit 2296d9b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,3 +178,4 @@ def main():
logging.info(f"Connecting to Nimiq node at: {NIMIQ_HOST}:{NIMIQ_PORT}")
while True:
main()
time.sleep(1) # Don't want to go too fast

0 comments on commit 2296d9b

Please sign in to comment.