From e1ed1e68a7952de42bc744f94cd09296d68530b8 Mon Sep 17 00:00:00 2001 From: MuslemRahimi Date: Tue, 15 Apr 2025 22:39:08 +0200 Subject: [PATCH] increase wait time --- app/cron_one_day_price.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/cron_one_day_price.py b/app/cron_one_day_price.py index 0c66173..97045a1 100755 --- a/app/cron_one_day_price.py +++ b/app/cron_one_day_price.py @@ -132,7 +132,7 @@ async def run(): await fetch_and_save_symbols_data(symbols_chunk, semaphore) print(f'Completed chunk {i//chunk_size + 1} of {(len(total_symbols) + chunk_size - 1) // chunk_size}') # No need to sleep as much since we're using a semaphore to control concurrency - await asyncio.sleep(5) + await asyncio.sleep(10) try: