[ZODB-Dev] ZEO client with Asyncore loop

2006-12-07 Thread Matthew Pontefract
Hello I'm writing client code that uses ZODB over a ZEO connection. In order not to have to call connection.sync() to synchronise the cache with the server I wish to provide the ZEO client with an asyncore mainloop to which it can attach itself. No matter how I do this, however, my clients do

Re: [ZODB-Dev] ZEO client with Asyncore loop

2006-12-07 Thread Jim Fulton
Note that ZODB 3.7 already provides a separate dedicated client asyncore loop. You might try using that. There is a beta release at: http://download.zope.org/distribution/ZODB3-3.7.0b3.tar.gz Note that this release should work well with easy_install or zc.buildout. It doesn't include

Re: [ZODB-Dev] ZEO client with Asyncore loop

2006-12-07 Thread Matthew Pontefract
Thanks for the pointer - I found the client_loop in ZEO.zrpc.connection which starts on importing that module. A quick check with my bit of code didn't see things working any better but I fear I may be completely missing the point somewhere... I'll try again in the morning. Thanks again for