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

fix: increase the default protocol timeout #9928

Merged
merged 1 commit into from Mar 28, 2023

Conversation

OrKoN
Copy link
Collaborator

@OrKoN OrKoN commented Mar 28, 2023

This PR increases the protocol timeout to be less likely triggered by normal operations but still indicate errors in case of backend issues instead of waiting forever. Unfortunately, the current script evaluation API does not allow configuring the timeouts per operations and it's not possible to change this due to variadic arguments accepted in evaluate and evaluateHandle. We could consider exposing new methods which also accept a timeout but for now let's see if increasing the connection timeout is good enough. Also, updated the error message with the info on how to increase the timeout.

Issue #9927

@OrKoN OrKoN force-pushed the orkon/bump-default-protocol-timeout branch from 75c7bc3 to 84c5d7a Compare March 28, 2023 11:29
@OrKoN OrKoN force-pushed the orkon/bump-default-protocol-timeout branch from 84c5d7a to eb283f8 Compare March 28, 2023 11:37
@OrKoN OrKoN enabled auto-merge (squash) March 28, 2023 11:37
@OrKoN OrKoN disabled auto-merge March 28, 2023 11:43
@OrKoN OrKoN enabled auto-merge (squash) March 28, 2023 11:43
This PR increases the protocol timeout to be less likely triggered
by normal operations but still indicate errors in case of backend
issues instead of waiting forever. Unfortunately, the current
script evaluation API does not allow configuring the timeouts per
operations and it's not possible to change this due to variadic arguments
accepted in evaluate and evaluateHandle. We could consider exposing
new methods which also accept a timeout but for now let's see if increasing
the connection timeout is good enough.

Issue #9927
@OrKoN OrKoN force-pushed the orkon/bump-default-protocol-timeout branch from eb283f8 to df731f1 Compare March 28, 2023 12:02
@OrKoN OrKoN merged commit 4465f4b into main Mar 28, 2023
30 checks passed
@OrKoN OrKoN deleted the orkon/bump-default-protocol-timeout branch March 28, 2023 12:35
@release-please release-please bot mentioned this pull request Mar 28, 2023
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.

None yet

2 participants