Commit 05ca590e authored by Jim Fulton's avatar Jim Fulton

Make tpc_begin one-way to eliminate a round-trip during commit.

parent f4cf6a53
...@@ -240,7 +240,7 @@ class StorageServer: ...@@ -240,7 +240,7 @@ class StorageServer:
# @defreturn async # @defreturn async
def tpc_begin(self, id, user, descr, ext, tid, status): 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): def vote(self, trans_id):
return self.rpc.call('vote', trans_id) return self.rpc.call('vote', trans_id)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment