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

Put a time limit on subgraph queries HTTP request #245

Open
tilacog opened this issue Aug 23, 2023 · 0 comments
Open

Put a time limit on subgraph queries HTTP request #245

tilacog opened this issue Aug 23, 2023 · 0 comments
Assignees
Labels
bug Something isn't working high-priority Should be given priority
Milestone

Comments

@tilacog
Copy link
Contributor

tilacog commented Aug 23, 2023

We noticed that the EBO freezes after logging the message "Fetching latest subgraph state" (here).

We think it might be hanging while waiting for a response, so it would be helpful to add a timeout to that operation.

We hope that wrapping the query_subgraph function in a tokio::timeout would fix the problem.

@tilacog tilacog added the bug Something isn't working label Aug 23, 2023
@tilacog tilacog added this to Indexer Aug 29, 2023
@github-project-automation github-project-automation bot moved this to 🗃️ Inbox in Indexer Aug 29, 2023
@tilacog tilacog moved this from 🗃️ Inbox to 📒 Todo in Indexer Aug 29, 2023
@tilacog tilacog added this to the Robustness milestone Aug 29, 2023
@fordN fordN added the high-priority Should be given priority label Sep 25, 2023
@fordN fordN moved this from 📒 Todo to 🙏 Feature Requests in Indexer Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high-priority Should be given priority
Projects
Status: 🙏 Feature Requests
Development

No branches or pull requests

2 participants