about summary refs log tree commit diff
path: root/.env.production.sample
diff options
context:
space:
mode:
Diffstat (limited to '.env.production.sample')
-rw-r--r--.env.production.sample12
1 files changed, 10 insertions, 2 deletions
diff --git a/.env.production.sample b/.env.production.sample
index 0df0a8778..ad058b2b7 100644
--- a/.env.production.sample
+++ b/.env.production.sample
@@ -283,9 +283,17 @@ MAX_POLL_OPTION_CHARS=100
 # If undefined or smaller than MAX_EMOJI_SIZE, the value
 # of MAX_EMOJI_SIZE will be used for MAX_REMOTE_EMOJI_SIZE
 # Units are in bytes
-MAX_EMOJI_SIZE=51200
-MAX_REMOTE_EMOJI_SIZE=204800
+# MAX_EMOJI_SIZE=262144
+# MAX_REMOTE_EMOJI_SIZE=262144
 
 # 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