SVN: ZODB/trunk/src/ZEO/ServerStub.py Make tpc_begin one-way to eliminate a round-trip during commit.

Jim Fulton <[email protected]>
Newsgroups gmane.comp.python.zope.zodb.cvs
Message-ID <[email protected]>
Log message for revision 107019:
  Make tpc_begin one-way to eliminate a round-trip during commit.
  

Changed:
  U   ZODB/trunk/src/ZEO/ServerStub.py

-=-
Modified: ZODB/trunk/src/ZEO/ServerStub.py
===================================================================
--- ZODB/trunk/src/ZEO/ServerStub.py	2009-12-23 16:17:13 UTC (rev 107018)
+++ ZODB/trunk/src/ZEO/ServerStub.py	2009-12-23 16:51:06 UTC (rev 107019)
@@ -240,7 +240,7 @@
     # @defreturn async
 
     def tpc_begin(self, id, user, descr, ext, tid, status):
-        return self.rpc.call('tpc_begin', id, user, descr, ext, tid, status)
+        self.rpc.callAsync('tpc_begin', id, user, descr, ext, tid, status)
 
     def vote(self, trans_id):
         return self.rpc.call('vote', trans_id)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.