mirror of
https://github.com/NohamR/OqeeRewind.git
synced 2026-01-11 00:28:16 +00:00
Add batch size option for bruteforce operation
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user