cmd_send.py: add note about future speedup opportunity
This commit is contained in:
parent
34f4c284b0
commit
5f25e92a2d
|
@ -99,6 +99,8 @@ def build_phase1_data(args):
|
||||||
def send_twisted(args, reactor=reactor):
|
def send_twisted(args, reactor=reactor):
|
||||||
assert isinstance(args.relay_url, type(u""))
|
assert isinstance(args.relay_url, type(u""))
|
||||||
handle_zero(args)
|
handle_zero(args)
|
||||||
|
# TODO: parallelize the roundtrip that allocates the channel with the
|
||||||
|
# (blocking) local IO (file os.stat, zipfile generation)
|
||||||
phase1, fd_to_send = build_phase1_data(args)
|
phase1, fd_to_send = build_phase1_data(args)
|
||||||
other_cmd = build_other_command(args)
|
other_cmd = build_other_command(args)
|
||||||
print(u"On the other computer, please run: %s" % other_cmd,
|
print(u"On the other computer, please run: %s" % other_cmd,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user