Skip to content
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.

Fixed socket creation timeouts #21

Merged
merged 1 commit into from
Sep 12, 2014
Merged

Conversation

damienlevin
Copy link
Contributor

With poll-timeout > new-socket-timeout : In ZeroMQExtension if a socket creation is attempted before the initialization of the PUB/SUB sockets used to send interrupts, the SocketManager poller.poll (line59) will block the Actor thread and prevent any socket creation (NewSocket).

Due to the fact that actorOf[SocketManager] is async, Tests were randomly passing since SocketManager was receiving NewSocket before its Poll message sent at initialization.

chrisdinn added a commit that referenced this pull request Sep 12, 2014
Fixed socket creation timeouts
@chrisdinn chrisdinn merged commit 4e23b68 into mDialog:master Sep 12, 2014
@chrisdinn
Copy link
Contributor

Nice fix, good library hardening.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants