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.
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.