Yous135774 commited on
Commit
5920e52
·
verified ·
1 Parent(s): a7593d2

Update bot.py

Browse files
Files changed (1) hide show
  1. bot.py +1 -1
bot.py CHANGED
@@ -1130,7 +1130,7 @@ async def process_parallel_chapters(interaction, msg, user, chapters_dict, tmp_d
1130
  total_bubbles = 0
1131
  failed_pages = 0
1132
  # تقليل السعة لتفادي ضغط API (Load Balancing)
1133
- semaphore = asyncio.Semaphore(4)
1134
 
1135
  async def process_single_image(img_path):
1136
  async with semaphore:
 
1130
  total_bubbles = 0
1131
  failed_pages = 0
1132
  # تقليل السعة لتفادي ضغط API (Load Balancing)
1133
+ semaphore = asyncio.Semaphore(5)
1134
 
1135
  async def process_single_image(img_path):
1136
  async with semaphore: