[Zodb-checkins] CVS: Zope/lib/python/ZEO -
ClientStorage.py:1.106.4.8
Jeremy Hylton
jeremy at zope.com
Fri Oct 3 16:06:49 EDT 2003
Update of /cvs-repository/Zope/lib/python/ZEO
In directory cvs.zope.org:/tmp/cvs-serv3096
Modified Files:
Tag: Zope-2_7-branch
ClientStorage.py
Log Message:
_wait_sync() needs default for deadline and needs to pass along to
recursive calls to _wait().
=== Zope/lib/python/ZEO/ClientStorage.py 1.106.4.7 => 1.106.4.8 ===
--- Zope/lib/python/ZEO/ClientStorage.py:1.106.4.7 Fri Oct 3 15:28:59 2003
+++ Zope/lib/python/ZEO/ClientStorage.py Fri Oct 3 16:06:49 2003
@@ -341,7 +341,7 @@
else:
self._wait_sync(deadline)
- def _wait_sync(self, deadline):
+ def _wait_sync(self, deadline=None):
# If there is no mainloop running, this code needs
# to call poll() to cause asyncore to handle events.
while 1:
@@ -354,7 +354,7 @@
if self._connection is None:
# If the connection was closed while we were
# waiting for it to become ready, start over.
- return self._wait()
+ return self._wait(deadline - time.time())
else:
self._connection.pending(30)
More information about the Zodb-checkins
mailing list