Commit f0dc0114 authored by Jim Fulton's avatar Jim Fulton

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

parent 153f119b
......@@ -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)
......
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