[Zope-Checkins] CVS: ZODB3/ZEO - ServerStub.py:1.9.2.2
Jeremy Hylton
jeremy at zope.com
Wed Aug 27 12:20:21 EDT 2003
Update of /cvs-repository/ZODB3/ZEO
In directory cvs.zope.org:/tmp/cvs-serv3897
Modified Files:
Tag: ZODB3-3_1-branch
ServerStub.py
Log Message:
Allow caller to pass timeout argument though _update() to pending().
=== ZODB3/ZEO/ServerStub.py 1.9.2.1 => 1.9.2.2 ===
--- ZODB3/ZEO/ServerStub.py:1.9.2.1 Fri Aug 22 16:45:28 2003
+++ ZODB3/ZEO/ServerStub.py Wed Aug 27 11:20:20 2003
@@ -33,14 +33,14 @@
"""
self.rpc = rpc
- def _update(self):
+ def _update(self, timeout=0):
"""Handle pending incoming messages.
This method is typically only used when no asyncore mainloop
is already active. It can cause arbitrary callbacks from the
server to the client to be handled.
"""
- self.rpc.pending()
+ self.rpc.pending(timeout)
def register(self, storage_name, read_only):
self.rpc.call('register', storage_name, read_only)
More information about the Zope-Checkins
mailing list