Skip to content

Abrandoned/broker probs#244

Merged
abrandoned merged 4 commits intomasterfrom
abrandoned/broker_probs
Jan 17, 2015
Merged

Abrandoned/broker probs#244
abrandoned merged 4 commits intomasterfrom
abrandoned/broker_probs

Conversation

@abrandoned
Copy link
Copy Markdown
Contributor

move check available rcv/snd timeout on zeromq to use the ENV if specified (instead of if specified and greater than 200ms, that's a long time in socket connection)

In running the zeromq client/server the most common "failure" is when the broker either doesn't start or fails after running and the servers freezes. This PR adds a check in the running loop of the server to restart the broker if it fails, a new context is required to restart a failed broker.

I also removed the "ClassLength" check in rubocop as we are trying to get the zeromq stuff out of the mainline gem (which we can refactor at that time) and creating an abstraction to remove class length seems prone to creating the wrong abstractions if it is forced.

@localshred @liveh2o

@liveh2o
Copy link
Copy Markdown
Contributor

liveh2o commented Jan 17, 2015

Looks like a good enough cut. 👍 for refactoring this once it's extracted.

:shipit:

abrandoned added a commit that referenced this pull request Jan 17, 2015
@abrandoned abrandoned merged commit c0257ec into master Jan 17, 2015
@abrandoned abrandoned deleted the abrandoned/broker_probs branch January 17, 2015 18:25
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