Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Add interval and count to keep-alive #269

Closed
wants to merge 1 commit into from

Conversation

jameshartig
Copy link

We should be able to specify the probe interval and the failure count for keep-alive's on sockets.

Corresponding node pull request: nodejs/node-v0.x-archive#2239

@piscisaureus
Copy link

We should be able to specify the probe interval and the failure count for keep-alive's on sockets.

Why is that needed?

@jameshartig
Copy link
Author

It is needed because the default probe interval and failure counts set by the OS are too extreme and if you have an application that keeps a lot of sockets open (say a server that hosts a lot of clients over socket connections) you'd want to fine-tune the values to be very low.

@ibc
Copy link
Contributor

ibc commented May 23, 2012

I agree. Depending on OS default values is not (always) good.

@jameshartig
Copy link
Author

If I make a new pull request pointing at master and add the documentation for count/interval being 0, can it be merged?

@jameshartig
Copy link
Author

Updated with Windows support for interval, documentation added that @txdv suggested and targeted master.
#729

@jameshartig jameshartig closed this Mar 1, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants