diff options
Diffstat (limited to '.env.production.sample')
-rw-r--r-- | .env.production.sample | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.env.production.sample b/.env.production.sample index 0df0a8778..5fae5f661 100644 --- a/.env.production.sample +++ b/.env.production.sample @@ -289,3 +289,11 @@ MAX_REMOTE_EMOJI_SIZE=204800 # Optional hCaptcha support # HCAPTCHA_SECRET_KEY= # HCAPTCHA_SITE_KEY= + +# 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 |