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

Allow for custom retry amount, delay, and timeout. #11

Open
AndreasBackx opened this issue May 4, 2017 · 1 comment
Open

Allow for custom retry amount, delay, and timeout. #11

AndreasBackx opened this issue May 4, 2017 · 1 comment

Comments

@AndreasBackx
Copy link

AndreasBackx commented May 4, 2017

Lately our calls to GoCardless are taking an excessive amount of time and are even causing timeouts in our wsgi. Calls to BaseService._perform_request are all using hardcoded settings, e.g: RedirectFlowsService.create. It would be appreciated if we could configure these ourselves somehow and also configure a timeout. The library uses requests internally which allows you to pass a timeout, it would be neat if we could pass all this data ourselves and handle the timeout and other exceptions ourselves.

@timrogers
Copy link

@AndreasBackx Thanks for your feedback! As you may have seen, we've recently added new functionality to the library to support retrying failed requests automatically. It'd definitely make sense for this to be configurable though - we'll look at adding support for this ❤️

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

No branches or pull requests

2 participants