[Zodb-checkins] CVS: StandaloneZODB/ZEO - zrpc2.py:1.1.2.22

Jeremy Hylton jeremy@zope.com
Mon, 7 Jan 2002 16:00:15 -0500


Update of /cvs-repository/StandaloneZODB/ZEO
In directory cvs.zope.org:/tmp/cvs-serv11199

Modified Files:
      Tag: ZEO-ZRPC-Dev
	zrpc2.py 
Log Message:
Don't raise exception in __connect().  It's a thread.


=== StandaloneZODB/ZEO/zrpc2.py 1.1.2.21 => 1.1.2.22 ===
                     self.obj.notifyConnected(c)
                 except:
-                    # XXX
                     c.close()
-                    raise
+                    # When the connection is closed, we'll trigger
+                    # another attempt to reconnect.
+                    
         finally:
             # must always clear _thread on the way out
             self._thread = None