libplanet icon indicating copy to clipboard operation
libplanet copied to clipboard

Prevent failure of sending message when socket is full

Open limebell opened this issue 3 years ago • 2 comments

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.

limebell avatar Feb 21 '22 09:02 limebell

I think that it's okay to limit socket count with relative value for workers because all DealerSockets for request are used in workers.

longfin avatar Apr 04 '22 11:04 longfin

This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.

stale[bot] avatar Jul 31 '22 01:07 stale[bot]