From 1fc38f0f51b152926e0ab058f41e6ecd1cc59d1c Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Sat, 8 Jul 2023 10:28:46 +0300 Subject: [PATCH] Add retention --- templates/env.j2 | 8 ++++++++ 1 file changed, 8 insertions(+) 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