[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zope-cvs
Subject:    [Zope-Checkins] CVS: ZODB3/ZEO - ClientStorage.py:1.73.2.32
From:       Jeremy Hylton <jeremy () zope ! com>
Date:       2003-08-27 15:23:29
[Download RAW message or body]

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

Modified Files:
      Tag: ZODB3-3_1-branch
	ClientStorage.py 
Log Message:
Processing I/O using self._server instead of self._connection.

This change will cause a Disconnected exception to be raised if the
client gets disconnected, rather than an AttributeError on None.


=== ZODB3/ZEO/ClientStorage.py 1.73.2.31 => 1.73.2.32 ===
--- ZODB3/ZEO/ClientStorage.py:1.73.2.31	Wed Aug 27 00:38:51 2003
+++ ZODB3/ZEO/ClientStorage.py	Wed Aug 27 11:23:28 2003
@@ -737,7 +737,7 @@
                 remaining = deadline - time.time()
                 if remaining <= 0:
                     raise StorageTransactionError("Timed out waiting to vote")
-                self._connection.pending(remaining)
+                self._server._update(remaining)
             log2(BLATHER, "Received voteReady notification from server")
             # XXX If the client would fail to call vote, the server would
             # block until it timed the connectio out.  Is that a likely


_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic