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

add a configurable max timeout for predicate requests #643

Open
rafaelcr opened this issue Sep 10, 2024 · 0 comments
Open

add a configurable max timeout for predicate requests #643

rafaelcr opened this issue Sep 10, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@rafaelcr
Copy link
Collaborator

If chainhook is sending a POST request for a predicate into an external server but that server never responds, it leads to an indefinite lock in the thread that handles predicate evaluations, which disrupts the entire block consumption process.

We should add a configurable timeout for these requests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant