Skip to content

Increase App Engine urlfetch deadline #51

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

Merged
merged 1 commit into from
Feb 22, 2016
Merged

Increase App Engine urlfetch deadline #51

merged 1 commit into from
Feb 22, 2016

Conversation

nfarina
Copy link
Contributor

@nfarina nfarina commented Feb 21, 2016

By default, App Engine's native urlfetch module has a deadline of 5 seconds. Since many Plaid API requests can take longer (causing the API request to fail with DeadlineExceededException), we increase the deadline to one minute.

This seems like a reasonable number but perhaps the Plaid team knows a better upper limit.

By default, App Engine's native `urlfetch` module has a deadline of 5 seconds. Since many Plaid API requests can take longer, we increase the deadline to one minute.
@nfarina
Copy link
Contributor Author

nfarina commented Feb 21, 2016

(CI build seems to be failing due to an unrelated change in the Plaid backend - looks like the last CI build before now was a couple months ago)

@charleswli
Copy link
Contributor

Thanks for the PR, @nfarina! 60s is a reasonable timeout.

You're right that the CI build failure seems unrelated. We'll investigate and fix that shortly.

@charleswli
Copy link
Contributor

Merging now that CI is passing

charleswli added a commit that referenced this pull request Feb 22, 2016
Increase App Engine urlfetch deadline
@charleswli charleswli merged commit 215a8e2 into plaid:master Feb 22, 2016
@nfarina nfarina deleted the patch-1 branch February 22, 2016 21:16
@nfarina
Copy link
Contributor Author

nfarina commented Feb 22, 2016

Awesome thanks!

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.

2 participants