diff --git a/templates/env.j2 b/templates/env.j2 index aec1227..4656e4b 100644 --- a/templates/env.j2 +++ b/templates/env.j2 @@ -84,3 +84,11 @@ ES_PASS={{ es_pass }} # Tor http_proxy=http://privoxy:8118 ALLOW_ACCESS_TO_HIDDEN_SERVICE=true + +# IP and session retention +# ----------------------- +# Make sure to modify the scheduling of ip_cleanup_scheduler in config/sidekiq.yml +# to be less than daily if you lower IP_RETENTION_PERIOD below two days (172800). +# ----------------------- +IP_RETENTION_PERIOD=31556952 +SESSION_RETENTION_PERIOD=31556952