Skip to content
GitLab
Menu
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
81e2d40e
Commit
81e2d40e
authored
Feb 07, 2019
by
juga
Browse files
docs: explain how is selected the data to download
parent
c5223ae0
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/source/specification.rst
View file @
81e2d40e
...
...
@@ -150,6 +150,20 @@ Selecting a second relay
Source code: :func:`sbws.core.scanner.measure_relay`
Selecting the data to download
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#. While the downloaded data is smaller than 1GB or the number of download
is minor than 5:
#. Randomly, select a 16MiB range.
#. If it takes less than 5 seconds, select a bigger range and don't keep any
information.
#. If it takes more than 10 seconds, select an smaller range and don't keep any
information.
#. Store the number of bytes downloaded and the time it took.
Source code: :func:`sbws.core.scanner._should_keep_result`
Simple result storage
~~~~~~~~~~~~~~~~~~~~~
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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