fix: trigger legacy tasks manager every 5m (#2987)
### Description This ensures that when the LibreTime interface is not used for a long time, we still have the task manager run essential tasks for the schedule. Related to #2670
This commit is contained in:
parent
bcaa77ff3c
commit
7040d0e4bd
6 changed files with 31 additions and 0 deletions
|
@ -189,6 +189,7 @@ RUN --mount=type=cache,target=/root/.cache/pip \
|
|||
pip install --no-compile -r requirements.txt
|
||||
|
||||
COPY --from=python-builder /build/shared/*.whl .
|
||||
COPY --from=python-builder /build/api-client/*.whl .
|
||||
RUN --mount=type=cache,target=/root/.cache/pip \
|
||||
pip install --no-compile *.whl && rm -Rf *.whl
|
||||
|
||||
|
@ -203,6 +204,7 @@ WORKDIR /app
|
|||
CMD ["/usr/local/bin/celery", "worker", \
|
||||
"--app=libretime_worker.tasks:worker", \
|
||||
"--config=libretime_worker.config", \
|
||||
"--beat", \
|
||||
"--time-limit=1800", \
|
||||
"--concurrency=1", \
|
||||
"--loglevel=info"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue