set ALLOWED_LIFETIME_MAX (retention)
This commit is contained in:
parent
0dff883beb
commit
998583c2a5
|
@ -37,6 +37,8 @@ USER_IPS_MAX_AGE=1d
|
||||||
|
|
||||||
ENCRYPTED_BY_DEFAULT=all
|
ENCRYPTED_BY_DEFAULT=all
|
||||||
|
|
||||||
|
ALLOWED_LIFETIME_MAX=4w
|
||||||
|
|
||||||
#ENABLE_ALLOWLIST=1
|
#ENABLE_ALLOWLIST=1
|
||||||
#FEDERATION_ALLOWLIST="[]"
|
#FEDERATION_ALLOWLIST="[]"
|
||||||
|
|
||||||
|
|
|
@ -554,8 +554,8 @@ retention:
|
||||||
# 'max_lifetime' that's out of these bounds, Synapse will cap the room's policy
|
# 'max_lifetime' that's out of these bounds, Synapse will cap the room's policy
|
||||||
# to these limits when running purge jobs.
|
# to these limits when running purge jobs.
|
||||||
#
|
#
|
||||||
#allowed_lifetime_min: 1d
|
allowed_lifetime_min: 1d
|
||||||
#allowed_lifetime_max: 1y
|
allowed_lifetime_max: {{ env "ALLOWED_LIFETIME_MAX" }}
|
||||||
|
|
||||||
# Server admins can define the settings of the background jobs purging the
|
# Server admins can define the settings of the background jobs purging the
|
||||||
# events which lifetime has expired under the 'purge_jobs' section.
|
# events which lifetime has expired under the 'purge_jobs' section.
|
||||||
|
|
Loading…
Reference in New Issue