Skip to content

feat: timeouts for prover clients#1365

Merged
Mirko-von-Leipzig merged 4 commits intomainfrom
santiagopittella-make-timeouts-configurable
Nov 14, 2025
Merged

feat: timeouts for prover clients#1365
Mirko-von-Leipzig merged 4 commits intomainfrom
santiagopittella-make-timeouts-configurable

Conversation

@SantiagoPittella
Copy link
Copy Markdown
Collaborator

This PR aims to the main branch

This PR adds a with_timeout method for the remote prover clients (Transaction, batch and block) that allows the configuration of the timeout.

Also, add a --request-timeout configuration in the remote prover to set the outgoing requests timeout.

@SantiagoPittella SantiagoPittella force-pushed the santiagopittella-make-timeouts-configurable branch from 11a3aba to 12bb716 Compare November 12, 2025 21:17
@Mirko-von-Leipzig Mirko-von-Leipzig changed the title chore: added configurable timeouts feat: timeouts for prover clients Nov 13, 2025
Comment thread crates/remote-prover-client/src/remote_prover/batch_prover.rs Outdated
Comment thread crates/remote-prover-client/src/remote_prover/tx_prover.rs Outdated
@Mirko-von-Leipzig
Copy link
Copy Markdown
Collaborator

Was the main motivation for this for the network monitor?

@SantiagoPittella
Copy link
Copy Markdown
Collaborator Author

Was the main motivation for this for the network monitor?

Yesterday, the remote prover was taking between 12 and 15 seconds prove, so the operation was being cancelled by the client because of the 10s timeout.

SantiagoPittella and others added 2 commits November 13, 2025 20:24
Co-authored-by: Mirko <48352201+Mirko-von-Leipzig@users.noreply.github.com>
Co-authored-by: Mirko <48352201+Mirko-von-Leipzig@users.noreply.github.com>
@Mirko-von-Leipzig Mirko-von-Leipzig merged commit c05678d into main Nov 14, 2025
6 checks passed
@Mirko-von-Leipzig Mirko-von-Leipzig deleted the santiagopittella-make-timeouts-configurable branch November 14, 2025 04:18
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