From 22bd1a1a0448d85d0ffb753804edf860339c9995 Mon Sep 17 00:00:00 2001 From: Tobias Johansson Date: Wed, 19 Sep 2018 14:02:28 +0200 Subject: [PATCH] Added celery task for resuming archiving flamenco jobs that got stuck in status "archiving". Jobs are considered stuck if they are in status "archiving" and hasn't been updated in a day. --- docker/4_run/config_local.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker/4_run/config_local.py b/docker/4_run/config_local.py index d0fbd4c..399fefd 100644 --- a/docker/4_run/config_local.py +++ b/docker/4_run/config_local.py @@ -113,6 +113,10 @@ CELERY_BEAT_SCHEDULE = { 'schedule': 600, # every N seconds 'args': ('gcs', 500) }, + 'flamenco-resume-job-archiving': { + 'task': 'flamenco.celery.job_archival.resume_job_archiving', + 'schedule': 600, # every N seconds + }, } SVNMAN_REPO_URL = 'https://svn.blender.cloud/repo/'