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

Jim Fulton jim at zope.com
Wed Dec 23 11:51:06 EST 2009


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)



More information about the checkins mailing list