From 05ca590eed1be7b73204f37cbc7808ba0c1d61ec Mon Sep 17 00:00:00 2001 From: Jim Fulton <jim@zope.com> Date: Wed, 23 Dec 2009 16:51:06 +0000 Subject: [PATCH] Make tpc_begin one-way to eliminate a round-trip during commit. --- src/ZEO/ServerStub.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ZEO/ServerStub.py b/src/ZEO/ServerStub.py index 27b4df6b..9c031f7d 100644 --- a/src/ZEO/ServerStub.py +++ b/src/ZEO/ServerStub.py @@ -240,7 +240,7 @@ class StorageServer: # @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) -- 2.30.9