Skip to content

Unblock transaction queue in the case of errors#116

Merged
zonotope merged 2 commits intomainfrom
fix/standalone-unexpected-messages
Feb 21, 2025
Merged

Unblock transaction queue in the case of errors#116
zonotope merged 2 commits intomainfrom
fix/standalone-unexpected-messages

Conversation

@zonotope
Copy link
Contributor

Previously an error while processing an event message sent to the transaction queue would attempt to put a nil value on the transaction queue's output channel, which generated an uncaught exception that would effectively block the transaction queue from processing further messages.

This patch detects error/nil values while processing events and prevents those values from going to the output channel so that subsequent events can still be processed.

@zonotope zonotope requested a review from a team February 21, 2025 18:01
@zonotope zonotope self-assigned this Feb 21, 2025
Copy link
Contributor

@dpetran dpetran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💅

@zonotope zonotope merged commit 03e2936 into main Feb 21, 2025
5 checks passed
@zonotope zonotope deleted the fix/standalone-unexpected-messages branch February 21, 2025 18:22
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