[Zope-Checkins] CVS: ZODB3/ZEO/zrpc - client.py:1.19.2.3

Jeremy Hylton jeremy@zope.com
Wed, 18 Dec 2002 16:14:34 -0500


Update of /cvs-repository/ZODB3/ZEO/zrpc
In directory cvs.zope.org:/tmp/cvs-serv7014/ZEO/zrpc

Modified Files:
      Tag: ZODB3-3_1-branch
	client.py 
Log Message:
Merge two improvements from ZODB3-fast-restart-branch

Lower the log level of one rather verbose debugging message.
Make the ConnectThread a daemon thread.


=== ZODB3/ZEO/zrpc/client.py 1.19.2.2 => 1.19.2.3 ===
--- ZODB3/ZEO/zrpc/client.py:1.19.2.2	Mon Dec  9 15:50:43 2002
+++ ZODB3/ZEO/zrpc/client.py	Wed Dec 18 16:14:33 2002
@@ -119,7 +119,7 @@
 
         # XXX need each connection started with async==0 to have a
         # callback
-        log("CM.set_async(%s)" % repr(map))
+        log("CM.set_async(%s)" % repr(map), level=zLOG.DEBUG)
         if not self.closed and self.trigger is None:
             log("CM.set_async(): first call")
             self.trigger = trigger()
@@ -172,6 +172,7 @@
                 self.thread = t = ConnectThread(self, self.client,
                                                 self.addrlist,
                                                 self.tmin, self.tmax)
+                t.setDaemon(1)
                 t.start()
             if sync:
                 while self.connection is None: