[ZODB-Dev] ZEO client poll times

2007-05-11 Thread Jim Fulton
When a ZEO Client is disconnected from a ZEO server, it will try to reconnect and keep trying until it reconnects or is closed. It waits between attempts. The waiting period starts at 5 seconds and increases to 5 minutes by default. These times are configurable using the min-disconnect

Re: [ZODB-Dev] ZEO client poll times

2007-05-11 Thread David Pratt
Hi Jim. Twisted has a reconnecting client with a similar feature. It starts at a short interval also but backs off at increasingly longer intervals which I think is the way to go when you are unable to reach the other side (but when you are obviously running a server). 6 seconds as max time so

Re: [ZODB-Dev] ZEO client poll times

2007-05-11 Thread Jim Fulton
On May 11, 2007, at 4:39 PM, David Pratt wrote: 6 seconds as max time sounds a bit short to me. I think there can be latency sometimes for whatever reason over the Internet. I would not want it necessarily closing connections as a result. Maybe max of 30 - 60 sec might be better - and stil

Re: [ZODB-Dev] ZEO client poll times

2007-05-11 Thread David Pratt
Hi Jim. I understood that you are opening connection. Looks like I misunderstood what will happen when max is reached. :-) So after reaching the max it will not disconnect - just attempt to reconnect at the max interval. I guess if this is the case, I don't see an issue with the shorter interv