-
- Downloads
Worker: queue task updates in a persistent sqlite database
This allows the worker to queue up task updates when Flamenco Manager is unreachable. Note that asyncio is used for task scheduling & execution, but HTTP connections and subprocess communication is not (yet). As a result, a blocking POST call will block proc.stdout.read() in AbstractSubprocessCommand, and vice versa. This can be solved by using either multithreading or asyncio to perform those operations.
Showing
- .gitignore 1 addition, 0 deletions.gitignore
- packages/flamenco-worker-python/flamenco-worker.cfg 1 addition, 0 deletionspackages/flamenco-worker-python/flamenco-worker.cfg
- packages/flamenco-worker-python/flamenco_worker/cli.py 11 additions, 1 deletionpackages/flamenco-worker-python/flamenco_worker/cli.py
- packages/flamenco-worker-python/flamenco_worker/config.py 1 addition, 0 deletionspackages/flamenco-worker-python/flamenco_worker/config.py
- packages/flamenco-worker-python/flamenco_worker/upstream.py 1 addition, 0 deletionspackages/flamenco-worker-python/flamenco_worker/upstream.py
- packages/flamenco-worker-python/flamenco_worker/upstream_update_queue.py 132 additions, 0 deletions...co-worker-python/flamenco_worker/upstream_update_queue.py
- packages/flamenco-worker-python/flamenco_worker/worker.py 5 additions, 10 deletionspackages/flamenco-worker-python/flamenco_worker/worker.py
- packages/flamenco-worker-python/tests/abstract_worker_test.py 12 additions, 0 deletions...ages/flamenco-worker-python/tests/abstract_worker_test.py
- packages/flamenco-worker-python/tests/test_upstream_update_queue.py 137 additions, 0 deletions...lamenco-worker-python/tests/test_upstream_update_queue.py
- packages/flamenco-worker-python/tests/test_worker.py 33 additions, 30 deletionspackages/flamenco-worker-python/tests/test_worker.py
Please register or sign in to comment