Clarify IP_RETENTION_PERIOD caveats in .env.production.sample

This commit is contained in:
Jeremy Kescher 2022-06-27 00:19:56 +02:00
parent 3f0ce80867
commit 1afaba9639
No known key found for this signature in database
GPG key ID: 48DFE4BB15BA5940

View file

@ -288,9 +288,8 @@ MAX_REMOTE_EMOJI_SIZE=204800
# IP retention period
# If undefined, the value of 31556952 (1 average year) will be used.
# Keep in mind that this is period will not be completely accurate
# and may have a delay of up to 24 hours on vanilla and glitch-soc Mastodon
# due to the scheduling of ip_cleanup_scheduler in sidekiq.yml.
# You should also change the scheduling (by default, every 24 hours) of ip_cleanup_scheduler in config/sidekiq.yml
# if you change this value to avoid IP addresses being kept for longer than intended.
# Time unit in seconds
IP_RETENTION_PERIOD=31556952