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

Replace custom retry code with decorator library #2

Merged
merged 1 commit into from
Nov 23, 2021

Conversation

benthorner
Copy link
Owner

This isn't much better than having a custom retry function:

  • The library isn't maintained 1, and the only other fork doesn't
    accept issues 2.

  • The default setting for the logger interferes with testing for
    logger outputs.

  • The syntax is still verbose (versus 3) and a wrapper function
    is still necessary.

On the whole it's good enough for now, and doesn't preclude having
a custom package in future if this one stops working.

This isn't much better than having a custom retry function:

- The library isn't maintained [1], and the only other fork doesn't
accept issues [2].

- The default setting for the logger interferes with testing for
logger outputs.

- The syntax is still verbose (versus [3]) and a wrapper function
is still necessary.

On the whole it's good enough for now, and doesn't preclude having
a custom package in future if this one stops working.

[1]: invl/retry#36
[2]: https://github.com/eSAMTrade/retry
[3]: invl/retry#50
@benthorner benthorner merged commit 93e93e3 into master Nov 23, 2021
@benthorner benthorner deleted the retry-package branch November 23, 2021 22:13
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.

1 participant