Open vladimirdulov opened 3 weeks ago
Data corruption seems unlikely as long as the container is properly stopped - that should in turn properly shutdown the huey task processor.
I'm not against this, but I probably won't work on it. Contributions for an option would be OK.
As a workaround, you could try mounting a custom.py
file into the settings folder, which allows to override any setting such as the HUEY
one.
Could you implement an ability to use Redis for
Huey task queue
? CurrentlyHuey task queue
uses sqlite3 which doesn't work good in docker environments - a data could be corrupted on container restarts, etc. so it's better to use Redis which supported byhuey
by default.https://github.com/coleifer/huey/blob/85f61870e4f5d871d52b941e2e665c14d48408de/docs/django.rst#setting-things-up
Proposed patch of line 180-181 of
siteroot/settings/base.py
:https://github.com/sissbruecker/linkding/blob/master/siteroot/settings/base.py#L180