mirror of
https://github.com/valitydev/redash.git
synced 2024-11-07 17:38:54 +00:00
Schedule removal of dead tasks
This commit is contained in:
parent
653ed1c57a
commit
065d2bc2c6
@ -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')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user