cmd_send: time import of tor_manager too
This commit is contained in:
parent
cfbd418898
commit
a086effd52
|
@ -40,7 +40,8 @@ def send(args, reactor=reactor):
|
|||
|
||||
tor_manager = None
|
||||
if args.tor:
|
||||
from ..twisted.tor_manager import TorManager
|
||||
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
|
||||
# in parallel with everything else, make sure the TorManager can
|
||||
|
|
Loading…
Reference in New Issue
Block a user