60 or 90 seconds seems reasonable, but your code should also detect a socket
close immediately and reconnect immediately. The common case for a
connection drop -- a server restart -- should cause your socket to close,
the client to detect the closure, and reconnect, all within about a second.


On Sat, Feb 20, 2010 at 9:09 PM, Marc Mims <marc.m...@gmail.com> wrote:

> * John Kalucki <j...@twitter.com> [100220 21:02]:
> > Arg. This is what I get for not checking the configuration each time.
> Yes,
> > it's currently set to send a newline every 30 seconds.
>
> Ok.  Sorry to drag this out, but what, then, is an appropriate timeout
> value for the application?
>
> @semifor
>

Reply via email to