Set download and upload queue size limits
All checks were successful
continuous-integration/drone Build is passing
All checks were successful
continuous-integration/drone Build is passing
This commit is contained in:
parent
4814030936
commit
5fb3eb4541
@ -537,8 +537,8 @@ async def setup_db(app, loop):
|
|||||||
signal.signal(signal.SIGUSR1, handler)
|
signal.signal(signal.SIGUSR1, handler)
|
||||||
|
|
||||||
# Set up processing pipeline
|
# Set up processing pipeline
|
||||||
download_queue = asyncio.Queue()
|
download_queue = asyncio.Queue(200)
|
||||||
upload_queue = asyncio.Queue()
|
upload_queue = asyncio.Queue(200)
|
||||||
asyncio.create_task(uploader(
|
asyncio.create_task(uploader(
|
||||||
upload_queue))
|
upload_queue))
|
||||||
asyncio.create_task(downloader(
|
asyncio.create_task(downloader(
|
||||||
|
Loading…
Reference in New Issue
Block a user