Commit Graph

7 Commits

Author SHA1 Message Date
6ad48a1e9f Disconnect from SQLite DB when tearing down tests
This allows the temp directory to be cleaned up on Windows.
2019-01-10 16:24:09 +01:00
a350ed2e5a Absolute imports for tests to make PyCharm happy 2018-11-15 13:52:05 +01:00
9e55ccd6af Moved from requirements.txt to Pipfile
This also means that we need a `tests/__init__.py` file; this file makes
py.test undertand what is our sources directory, and thus allows them to
`import flamenco_worker`. As a result, the test imports from tests/*.py
need to change to relative imports.
2018-11-13 10:00:58 +01:00
3a3bf547e9 Fixed infinite task update loop when Manager responds with 404 Not Found
Task updates would be sent in an infinite loop when the Manager didn't
know the task, blocking all other task updates.
2018-09-11 18:24:15 +02:00
e8a4093104 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.
2018-06-15 14:18:24 +02:00
1c16cf37c4 Include response text when Manager refuses task update.
This refusal can be because another worker is working on the task, but
can also be for other reasons (like the task no longer being runnable).
2017-09-29 14:45:58 +02:00
4d9819c92f Removed Flamenco Server and Manager, and moved Worker to top level
This is a clone of the Flamenco repository from back in the days when
Server, Manager and Worker shared the same Git repository. This is the
commit where that ended, and they went their separate ways.
2017-03-03 16:13:09 +01:00