Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Retry-on-failure using NIH approach #100

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

Conversation

veox
Copy link
Owner

@veox veox commented Sep 12, 2018

Incorporates PR #65.

Merged master and fixed conflicts (due to v2.1.0 released that happened in the meantime).

This PR:

@veox veox changed the title Retry-on-failure using NIH approach WIP: Retry-on-failure using NIH approach Sep 12, 2018
@veox
Copy link
Owner Author

veox commented Sep 29, 2018

I've been live-testing this since the PR was opened.

An undesirable quirk that's surfaced with this is that, should a query fail even after self.retries attempts, the Python stack trace raised will have the exception nested self.retries times.

@Avanatiker
Copy link

.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement a recovery mechanism for failed http requests
3 participants