fix: reduce default request_concurrency_limit from 500 to 10 in Downie.__init__ to match write_concurrency_limit and prevent excessive concurrent requests
This commit is contained in:
parent
e13e48df5d
commit
f067d37314
@ -14,7 +14,7 @@ class Downie(BaseApplication):
|
||||
|
||||
def __init__(self, request_concurrency_limit=500,write_concurrency_limit=10,*args, **kwargs):
|
||||
self.base_url = None
|
||||
self.request_concurrency_limit = 500
|
||||
self.request_concurrency_limit = 10
|
||||
self.write_concurrency_limit = 10
|
||||
self.semaphore_write = asyncio.Semaphore(self.write_concurrency_limit)
|
||||
self.semaphore_request = asyncio.Semaphore(self.request_concurrency_limit)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user