Closed int2001 closed 1 year ago
Thanks for the PR!
It would be nice if this were documented
It would be nice if this were documented
Sure. it is documented within the PR. If you tell me where to document, i'll copypaste the Message and write a little explanation on top.
I'd put it in the examples section, so people know that KeepAlive
is now a valid option.
example from the readme showing usage of the timeout
option:
let client = gearman("localhost", 4730 , { timeout: 3000 }) // timeout in milliseconds.
In some circumstances the socket throws an unhandled ECONNRESET, because something between Server & Client terminates the TCP-Connections. This options allows to do a TCP-Keepalive, so this wont happen anymore.
Please add this to the master