Compare commits
3
Commits
main
..
5038520e6d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5038520e6d | ||
|
|
61957e8311 | ||
|
|
6ad826f3ee |
@@ -1,4 +1,3 @@
|
|||||||
./downie
|
|
||||||
downie.*
|
downie.*
|
||||||
__pycache__/
|
__pycache__/
|
||||||
www*
|
www*
|
||||||
|
|||||||
@@ -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