Skip to content

Conversation

PabloCastellano
Copy link
Member

This commit implements timeout mechanisms throughout the synchronizer and slots_processor modules to prevent indefinite hangs. Key changes include:

  • Add configurable request_timeout parameter to Synchronizer and SlotsProcessor
  • Implement timeouts for network operations with proper error handling
  • Add longer timeouts for more complex operations like block processing
  • Create appropriate error types (OperationTimeout) with detailed error messages

These changes ensure operations fail gracefully with clear error messages after timeout periods instead of hanging indefinitely, allowing the service to recover through pod restarts when network or processing issues occur.

This commit implements timeout mechanisms throughout the synchronizer and
slots_processor modules to prevent indefinite hangs. Key changes include:

- Add configurable request_timeout parameter to Synchronizer and SlotsProcessor
- Implement timeouts for network operations with proper error handling
- Add longer timeouts for more complex operations like block processing
- Create appropriate error types (OperationTimeout) with detailed error messages

These changes ensure operations fail gracefully with clear error messages
after timeout periods instead of hanging indefinitely, allowing the service
to recover through pod restarts when network or processing issues occur.
@PabloCastellano PabloCastellano requested a review from PJColombo May 19, 2025 19:30
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.

1 participant