[tor-commits] [sbws/master] Add config times for cleaning v3bw files

pastly at torproject.org pastly at torproject.org
Thu Aug 9 14:21:19 UTC 2018


commit ad6f1be916830cacb14355a31cbd153c6e387c28
Author: juga0 <juga at riseup.net>
Date:   Thu Jul 12 15:40:41 2018 +0000

    Add config times for cleaning v3bw files
---
 sbws/config.default.ini | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/sbws/config.default.ini b/sbws/config.default.ini
index 036a987..860e8db 100644
--- a/sbws/config.default.ini
+++ b/sbws/config.default.ini
@@ -14,6 +14,8 @@ usability_test_interval = 300
 [general]
 # Days into the past that measurements are considered valid
 data_period = 5
+# Minutes into the past that the bandwidth list files need to be available (2h)
+valid_mins_v3bw_files = 120
 # Timeout in seconds to give to the python Requests library. It MUST be a
 # single float. Requests will use it both as the connect() timeout and the
 # timeout between bytes received from the server. See
@@ -66,6 +68,11 @@ extra_lines =
 stale_days = 10
 # After this many days, delete data files
 rotten_days = 90
+# After this many minutes, compress v3bw files
+# Time during for the vote and time for the consensus (2h)
+stale_mins_v3bw_files = 240
+# After this many minutes, delete v3bw files (1d)
+rotten_mins_v3bw_files = 1440
 
 [relayprioritizer]
 # Whether or not to measure authorities





More information about the tor-commits mailing list