Fix memory leak in task update queue
I'm guessing the do_db_push() async function execution was starved by other asyncio tasks, causing Python to remember all the to-be-queued payloads in memory. By making the function synchronous this doesn't happen.
Showing
- flamenco_worker/upstream_update_queue.py 6 additions, 9 deletionsflamenco_worker/upstream_update_queue.py
- flamenco_worker/worker.py 3 additions, 3 deletionsflamenco_worker/worker.py
- tests/test_upstream_update_queue.py 3 additions, 4 deletionstests/test_upstream_update_queue.py
- tests/test_worker.py 1 addition, 4 deletionstests/test_worker.py
Loading
Please register or sign in to comment