Build: explore these Celery's features #8941
Labels
Improvement
Minor improvement to code
Needed: design decision
A core team decision is required
Sprintable
Small enough to sprint on
I haven't tested them yet, but look promising and more accurate than our current approach.
Reject(requeue=False)
on duplicated buildstask_cls
(https://docs.celeryproject.org/en/latest/userguide/tasks.html#app-wide-usage) to logs actionsCELERY_IMPORTS
to register the tasks (https://docs.celeryproject.org/en/latest/userguide/configuration.html#std-setting-imports)CELERY_TASK_IGNORE_RESULT=True
since we are not using the result at alltime_limit
fromDOCKER_LIMITS
and for Celery task so we can handle them nicely at on_timeout. In the last case, we will be able to do a nice cleanup (related to Builds: check celery and redis before marking a build as stale #8269)The text was updated successfully, but these errors were encountered: