Compare commits
5
Commits
main
..
b730d1df6a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b730d1df6a | ||
|
|
7b1aa63a76 | ||
|
|
5038520e6d | ||
|
|
61957e8311 | ||
|
|
6ad826f3ee |
@@ -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 = 10
|
self.request_concurrency_limit = 500
|
||||||
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