I am running benchmark tests for multichain, and using this library to do publish stream actions. When I increase the send rate to something like 100 transactions per second ( multichainObject.publish command ), I start getting Error: connect ETIMEDOUT or Error: read ECONNRESET .
Is there a way to set a timeout for a command, or do I need to explicitly encapsulate this publish call in a setTimeout function? What is the correct approach here?
I am running benchmark tests for multichain, and using this library to do publish stream actions. When I increase the send rate to something like 100 transactions per second ( multichainObject.publish command ), I start getting Error: connect ETIMEDOUT or Error: read ECONNRESET .
Is there a way to set a timeout for a command, or do I need to explicitly encapsulate this publish call in a setTimeout function? What is the correct approach here?