c421c1976d56efb3e370e77a5ef8a19ae4a4de29 — Clayton Craft 2 years ago de5bf87
docker/importer: disable multiple huey processes

This seems to be pretty buggy with the ORM and db backend, sometimes
pony crashes, or the db is locked when the app tries to open a page
while huey is importing, etc.

Imports will be slower... but at least it seems to be more reliable and
the web interface doesn't suffer while actively importing..
1 files changed, 1 insertions(+), 1 deletions(-)

M docker-compose/importer/Dockerfile
M docker-compose/importer/Dockerfile => docker-compose/importer/Dockerfile +1 -1
@@ 5,4 5,4 @@ RUN apt install -y build-essential gcc libffi-dev binutils libxml2-dev libxslt-d
ADD https://git.sr.ht/~craftyguy/ridecasa/blob/master/requirements.txt .
RUN python3 -m pip install -r requirements.txt
CMD huey_consumer ridecasa.tasks.huey -w 6
CMD huey_consumer ridecasa.tasks.huey