Opera8 commited on
Commit
9cdbc91
·
verified ·
1 Parent(s): 9c02bca

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -712,7 +712,7 @@ def get_upload_lock():
712
  global _upload_lock
713
  if _upload_lock is None:
714
  # ظرفیت روی 50 تنظیم شد.
715
- _upload_lock = asyncio.Semaphore(50)
716
  return _upload_lock
717
 
718
  async def get_shared_session():
 
712
  global _upload_lock
713
  if _upload_lock is None:
714
  # ظرفیت روی 50 تنظیم شد.
715
+ _upload_lock = asyncio.Semaphore(2)
716
  return _upload_lock
717
 
718
  async def get_shared_session():