ui polish and importer logging tuning
This commit is contained in:
@@ -89,6 +89,11 @@ def make_celery(app=None):
|
||||
'task': 'app.tasks.scan.recover_interrupted_tasks',
|
||||
'schedule': 300, # Every 5 minutes
|
||||
},
|
||||
'cleanup-old-tasks': {
|
||||
'task': 'app.tasks.scan.cleanup_old_tasks',
|
||||
'schedule': 86400, # Once per day
|
||||
'args': (7,), # Keep tasks for 7 days
|
||||
},
|
||||
},
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user