|
|
|
@app.task(bind=True, ignore_result=True, max_retries=None) |
|
def blocker(self, rid, pollbase=1.25): |
|
"""Wait for an AsyncResult to be ready, then return its result. |
The download blocker task currently never stops retrying. There is a reference in the commit message that says these were terminating early. However, retrying endlessly can result in stuck tasks that never time out.
Adjust to a sensible number, preferably one that can be tweaked at run time.
idb-backend/idigbio_workers/tasks/download.py
Lines 80 to 83 in 4cf5efe
The download blocker task currently never stops retrying. There is a reference in the commit message that says these were terminating early. However, retrying endlessly can result in stuck tasks that never time out.
Adjust to a sensible number, preferably one that can be tweaked at run time.