Add batch size option for bruteforce operation

This commit is contained in:
√(noham)²
2025-12-21 18:56:53 +01:00
parent e14fa2f99e
commit 7dc70dc3bb
5 changed files with 17 additions and 5 deletions

View File

@@ -51,11 +51,10 @@ def future(rep, base, duration):
return base + rep * duration
async def bruteforce(track_id, date):
async def bruteforce(track_id, date, batch_size=20000):
"""Bruteforce segments to find valid ticks."""
valid_ticks = []
total_requests = 288000
batch_size = 20000
logger.debug("Starting bruteforce for %s near %s", track_id, date)