Compare commits
6
Commits
b730d1df6a
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f067d37314 | ||
|
|
e13e48df5d | ||
|
|
f08425fa29 | ||
|
|
7eef76799b | ||
|
|
fdd77222cc | ||
|
|
3541d488b4 |
@@ -14,7 +14,7 @@ class Downie(BaseApplication):
|
|||||||
|
|
||||||
def __init__(self, request_concurrency_limit=500,write_concurrency_limit=10,*args, **kwargs):
|
def __init__(self, request_concurrency_limit=500,write_concurrency_limit=10,*args, **kwargs):
|
||||||
self.base_url = None
|
self.base_url = None
|
||||||
self.request_concurrency_limit = 500
|
self.request_concurrency_limit = 10
|
||||||
self.write_concurrency_limit = 10
|
self.write_concurrency_limit = 10
|
||||||
self.semaphore_write = asyncio.Semaphore(self.write_concurrency_limit)
|
self.semaphore_write = asyncio.Semaphore(self.write_concurrency_limit)
|
||||||
self.semaphore_request = asyncio.Semaphore(self.request_concurrency_limit)
|
self.semaphore_request = asyncio.Semaphore(self.request_concurrency_limit)
|
||||||
|
|||||||
Reference in New Issue
Block a user