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 fix for ZMQ #894

Open
tomuben opened this issue May 13, 2024 · 0 comments
Open

Add fix for ZMQ #894

tomuben opened this issue May 13, 2024 · 0 comments
Labels
refactoring Code improvement without behavior change

Comments

@tomuben
Copy link
Collaborator

tomuben commented May 13, 2024

Background

ZMQ might raise a "EINTR" exception if a signal occured during processing of blocking calls (send, recv, etc.).
Check for example: http://api.zeromq.org/4-2:zmq-recv =>

EINTR
The operation was interrupted by delivery of a signal before a message was available.

Please note, it affects all kinds of ZQM calls (recv, send, setsockopt, connect, ...)

In this case we need to retry the respective operation.

Acceptance

Implement a retry mechanism for all ZMQ calls.

@tomuben tomuben added the refactoring Code improvement without behavior change label May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Code improvement without behavior change
Projects
None yet
Development

No branches or pull requests

1 participant