libplanet
libplanet copied to clipboard
Prevent failure of sending message when socket is full
When the number of opened sockets exceeds NetMQConfig.MaxSockets creating a new DealerSocket fails and it leads to failure of the total sending process. The message should be enqueued so the message should be sent eventually.
I think that it's okay to limit socket count with relative value for workers because all DealerSockets for request are used in workers.
This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.