cmd_send: time import of tor_manager too

This commit is contained in:
Brian Warner 2016-05-05 19:07:27 -07:00
parent cfbd418898
commit a086effd52

View File

@ -40,6 +40,7 @@ def send(args, reactor=reactor):
tor_manager = None
if args.tor:
with args.timing.add("import", which="tor_manager"):
from ..twisted.tor_manager import TorManager
tor_manager = TorManager(reactor, timing=args.timing)
# For now, block everything until Tor has started. Soon: launch tor