Enable CELERY_ACKS_LATE
Copied from -ops repo to have it as a base setting since it's
important for all the environments.
@@ -312,6 +312,8 @@ class CommunityBaseSettings(Settings):
CELERYD_TASK_TIME_LIMIT = 60 * 60 # 60 minutes
CELERY_SEND_TASK_ERROR_EMAILS = False
CELERYD_HIJACK_ROOT_LOGGER = False
+ # This stops us from pre-fetching a task that then sits around on the builder
+ CELERY_ACKS_LATE = True
# Don't queue a bunch of tasks in the workers
CELERYD_PREFETCH_MULTIPLIER = 1
CELERY_CREATE_MISSING_QUEUES = True
