Merge pull request #2939 from Netflix/castrapel-patch-2
Bump time limit for clean_source Celery job
This commit is contained in:
commit
577a29db0b
|
@ -332,7 +332,7 @@ def clean_all_sources():
|
||||||
metrics.send(f"{function}.success", 'counter', 1)
|
metrics.send(f"{function}.success", 'counter', 1)
|
||||||
|
|
||||||
|
|
||||||
@celery.task(soft_time_limit=600)
|
@celery.task(soft_time_limit=3600)
|
||||||
def clean_source(source):
|
def clean_source(source):
|
||||||
"""
|
"""
|
||||||
This celery task will clean the specified source. This is a destructive operation that will delete unused
|
This celery task will clean the specified source. This is a destructive operation that will delete unused
|
||||||
|
|
Loading…
Reference in New Issue