Worker: discard task updates when task is assigned to another worker
The Manager will return a 409 Conflict status for updates to tasks that have been assigned to another worker. This change prevents the worker from trying to push these updates indefinitely to the Manager.
Showing
- packages/flamenco-worker-python/flamenco_worker/upstream_update_queue.py 8 additions, 2 deletions...co-worker-python/flamenco_worker/upstream_update_queue.py
- packages/flamenco-worker-python/tests/test_upstream_update_queue.py 36 additions, 0 deletions...lamenco-worker-python/tests/test_upstream_update_queue.py
Please register or sign in to comment