★ wanayoo — archive 1999 https://github.com/gocardless/gocardless-pro-python/issues/11Nouvelle recherche | Portail wanayoo
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 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

@timrogers timrogers commented May 5, 2017

@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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.