From 5fc0a4e9e0365aa6a8845e3feba2577ebe297e4f Mon Sep 17 00:00:00 2001 From: MuslemRahimi Date: Tue, 25 Feb 2025 23:29:00 +0100 Subject: [PATCH] bugfixing --- app/cron_options_flow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/cron_options_flow.py b/app/cron_options_flow.py index 01608b7..d3c79eb 100755 --- a/app/cron_options_flow.py +++ b/app/cron_options_flow.py @@ -42,7 +42,7 @@ async def fetch_options_activity(page): return [] # Asynchronous function to fetch multiple pages -async def fetch_all_pages(max_pages=15): +async def fetch_all_pages(max_pages=50): tasks = [fetch_options_activity(page) for page in range(max_pages)] results = await asyncio.gather(*tasks) return [item for sublist in results for item in sublist]