Reduce queue sizes

master
Lauri Võsandi 6 months ago
parent e54ad1ddb7
commit a275fe9522
  1. 4
      camdetect.py

@ -537,8 +537,8 @@ async def setup_db(app, loop):
signal.signal(signal.SIGUSR1, handler)
# Set up processing pipeline
download_queue = asyncio.Queue(200)
upload_queue = asyncio.Queue(200)
download_queue = asyncio.Queue(50)
upload_queue = asyncio.Queue(50)
asyncio.create_task(uploader(
upload_queue))
asyncio.create_task(downloader(

Loading…
Cancel
Save