Closed colinwestlake closed 3 years ago
Hi @colinwestlake I'm sorry you are having trouble. The connectTimeout
setting is indeed in milliseconds, not in "cento seconds". You can find the default value here:
And where it gets used here:
And the documentation for where that value is passed into Node.js is https://nodejs.org/dist/latest-v14.x/docs/api/net.html#net_socket_settimeout_timeout_callback
Sets the socket to timeout after timeout milliseconds of inactivity on the socket.
Experiment seems to suggest that this is actually in cento seconds not mS as per the docs You might want to check and change either the code or the readme :-)