Skip to content

Adjust download blocker task retries to a sensible number #170

@nrejac

Description

@nrejac

@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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions