Schedule removal of dead tasks

This commit is contained in:
Arik Fraimovich 2014-09-06 14:18:35 +03:00
parent 653ed1c57a
commit 065d2bc2c6

View File

@ -13,6 +13,10 @@ celery.conf.update(CELERY_RESULT_BACKEND=settings.CELERY_BACKEND,
'task': 'redash.tasks.refresh_queries',
'schedule': timedelta(seconds=30)
},
'cleanup_tasks': {
'task': 'redahs.tasks.cleanup_tasks',
'schedule': timedelta(minutes=5)
}
},
CELERY_TIMEZONE='UTC')