Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Network Health
sbws
Commits
689ce5ab
Commit
689ce5ab
authored
Feb 23, 2019
by
juga
Browse files
scanner: Stop threads in a test network
after finishing the first loop. As noted in bug28933_01.
parent
65e7e29d
Changes
1
Hide whitespace changes
Inline
Side-by-side
sbws/core/scanner.py
View file @
689ce5ab
...
...
@@ -480,7 +480,8 @@ def main_loop(args, conf, controller, relay_list, circuit_builder, result_dump,
if
controller
.
get_conf
(
'TestingTorNetwork'
)
==
'1'
:
log
.
info
(
"In a testing network, exiting after the first loop."
)
# Threads should be closed nicely in some refactor
exit
(
0
)
stop_threads
(
signal
.
SIGTERM
,
None
)
def
run_speedtest
(
args
,
conf
):
"""Initializes all the data and threads needed to measure the relays.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment