Skip to content

Client: Respect timeout across all services#151

Merged
AlexandrosMor merged 1 commit into
Adyen:developfrom
ohadbenita:client/respect-timeout-across-all-services
Oct 18, 2021
Merged

Client: Respect timeout across all services#151
AlexandrosMor merged 1 commit into
Adyen:developfrom
ohadbenita:client/respect-timeout-across-all-services

Conversation

@ohadbenita

Copy link
Copy Markdown
Contributor

Description
Respect the timeout setting for all services. Up until now, in some services self.http_timeout wasn't part of the kwargs and therefore the timeout passed to the client wasn't respected.

@ohadbenita

Copy link
Copy Markdown
Contributor Author

@Aleffio this bug is hurting our backend services in China. Due to high latency reaching Adyen's services from mainland China, we've set an aggressive 5 seconds timeout on all calls to Adyen's endpoint (we mostly use the Checkout API endpoint).

As you can see from these changes, the timeout isn't respected in the Checkout API as well as hpp and others. I'd be thankful if you could review this PR and issue a release soon.

Thanks

@ohadbenita

Copy link
Copy Markdown
Contributor Author

@Aleffio @AlexandrosMor @rikterbeek Can you please take a look into this?

@ohadbenita ohadbenita mentioned this pull request Oct 18, 2021
@AlexandrosMor AlexandrosMor merged commit adef76f into Adyen:develop Oct 18, 2021
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.

3 participants