Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
On github errors, retry once, and return a result or an exception
This commit is meant to fix point 5. on analysis at https://gist.github.com/majamassarini/85033b59607a3f3da570cf5aaf2b8c7a raise_on_status (in urllib3.Retry) meaning is: Similar meaning to raise_on_redirect: whether we should raise an exception, or return a response, if status falls in status_forcelist range and retries have been exhausted. I would force to have or a result or an exception for not making Celery task hanging.
- Loading branch information