[ZODB-Dev] Try and fail connect strategy for zeo/zrpc

Chris Withers chris at simplistix.co.uk
Tue Jul 12 14:27:27 EDT 2005


Sidnei da Silva wrote:
> | Does't the *already included* zeoup.py do exactly what you are trying  
> | to do? See the bin directory of your zope home.
> 
> Unfortunately no. It uses ClientStorage, which goes through the 1000's
> of lines of the connection dance using connect threads and large
> timeouts. Effectively, ClientStorage will retry a connection
> 'forever'. I just want to see if the port is listening and it smells
> like ZEO with the minimal reasonable timeout.

Sounds like zeoup.py doesn't do what it should, which is what you're 
after. How about repairing zeoup.py rather than rolling yet another 
not-really-needed script? ;-)

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk



More information about the ZODB-Dev mailing list