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
juga
sbws
Commits
16caca10
Commit
16caca10
authored
Jul 21, 2020
by
Georg Koppen
Browse files
Merge remote-tracking branch 'gitlab/merge-requests/19' into maint-1.1
parents
748cf1c1
09905b6c
Changes
1
Show whitespace changes
Inline
Side-by-side
sbws/globals.py
View file @
16caca10
...
...
@@ -81,8 +81,17 @@ TORFLOW_OBS_MEAN = 1
TORFLOW_OBS_DECAYING
=
3
TORFLOW_ROUND_DIG
=
3
PROP276_ROUND_DIG
=
2
DAY_SECS
=
86400
NUM_MIN_RESULTS
=
2
# Number of seconds the measurements for a relay have to be distant from each
# other, otherwise the relay would be excluded from the relays to vote on.
# Ideally, this should be 86400 seconds (1 day).
# To have sbws vote on approximately the same number of relays as Torflow,
# leave it as None, to not exclude measurements.
DAY_SECS
=
None
# Minimum number of measurements for a relay to be included as a relay to vote
# on.
# Ideally, this should be 2.
# As the constant before, leave it as 1 to not exclude measurements.
NUM_MIN_RESULTS
=
1
MIN_REPORT
=
60
# Maximum difference between the total consensus bandwidth and the total in
# in the bandwidth lines in percentage
...
...
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