Merge pull request #2939 from Netflix/castrapel-patch-2

Bump time limit for clean_source Celery job
This commit is contained in:
Curtis 2020-04-01 14:03:02 -04:00 committed by GitHub
commit 577a29db0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -332,7 +332,7 @@ def clean_all_sources():
metrics.send(f"{function}.success", 'counter', 1)
@celery.task(soft_time_limit=600)
@celery.task(soft_time_limit=3600)
def clean_source(source):
"""
This celery task will clean the specified source. This is a destructive operation that will delete unused