Skip to content

Commit

Permalink
Benchmark often to acquire data quick
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptobench committed Jan 24, 2024
1 parent bae121d commit 7b2f632
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ def setup_periodic_tasks(sender, **kwargs):
# options={"queue": "pingerp2p", "routing_key": "pingerp2p"},
# )
sender.add_periodic_task(
60 * 60 * randint(8, 12), # This generates a random interval between 8 and 12 hours in seconds to hopefully avoid all providers benchmarking at the same time on different auditors
600,
# 60 * 60 * randint(8, 12), # This generates a random interval between 8 and 12 hours in seconds to hopefully avoid all providers benchmarking at the same time on different auditors
benchmark_providers_task.s(),
queue="benchmarker",
options={"queue": "benchmarker", "routing_key": "benchmarker"},
Expand Down

0 comments on commit 7b2f632

Please sign in to comment.