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: use context timeout per paginated query #1395

Merged
merged 5 commits into from
Feb 2, 2024
Merged

Conversation

jtieri
Copy link
Member

@jtieri jtieri commented Feb 2, 2024

Previously we were using one 60s timeout for the entire paginated query request for channels. This change moves the context timeout to be on a per-request basis and uses a 10s timeout per request.

Previously we were using one 60s timeout for the entire paginated query request for channels. This change moves the context timeout to be on a per-request basis and uses a 10s timeout per request.
relayer/chains/cosmos/query.go Outdated Show resolved Hide resolved
@jtieri jtieri enabled auto-merge (squash) February 2, 2024 19:10
@jtieri jtieri disabled auto-merge February 2, 2024 19:10
@jtieri jtieri enabled auto-merge (squash) February 2, 2024 19:22
@jtieri jtieri merged commit 5896675 into main Feb 2, 2024
19 checks passed
@jtieri jtieri deleted the justin/query-timeout branch February 2, 2024 19:24
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