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

Gracefully close #9

Open
grantcarthew opened this issue Jun 8, 2019 · 0 comments
Open

Gracefully close #9

grantcarthew opened this issue Jun 8, 2019 · 0 comments

Comments

@grantcarthew
Copy link

Hi @goldfire,

I have been trying to write a Jest test around my democracy module and am having issues due to democracy leaving open handles.

I tried dem.socket.close() however due to heart beats etc it causes errors.

I've looked through the code and can't see any close, stop, or disconnect methods.

Do you have any suggestions?

This is a great package by the way. I wrote my own master/slave dgram modules before discovering democracy. Mine worked well however the master was static. This package with its election process is a far better solution.

Thanks for making this public.

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

No branches or pull requests

1 participant