Purge cleanup_deleted tasks as they aren't needed

This also adds a periodic static task to cleanup auth tokens
This commit is contained in:
Matthew Jones
2016-05-05 15:42:19 -04:00
parent 3c90ecba0b
commit 6cece17024
3 changed files with 11 additions and 27 deletions

View File

@@ -349,6 +349,10 @@ CELERYBEAT_SCHEDULE = {
'task': 'awx.main.tasks.run_label_cleanup',
'schedule': timedelta(days=7)
},
'authtoken_cleanup': {
'task': 'awx.main.tasks.cleanup_authtokens',
'schedule': timedelta(days=30)
},
}
# Social Auth configuration.