Bumped MAM archive expiry and file retention to 1 month
This commit is contained in:
parent
aaa48ef881
commit
de9d8e5a23
1 changed files with 8 additions and 8 deletions
|
@ -150,7 +150,7 @@ registration_notification = "User $username just registered on $host"
|
||||||
-- Tombstones
|
-- Tombstones
|
||||||
-- See https://prosody.im/doc/modules/mod_tombstones
|
-- See https://prosody.im/doc/modules/mod_tombstones
|
||||||
|
|
||||||
user_tombstone_expire = 60*86400
|
user_tombstone_expire = 60*86400 -- 2 months
|
||||||
|
|
||||||
-- Storage
|
-- Storage
|
||||||
-- See https://prosody.im/doc/storage
|
-- See https://prosody.im/doc/storage
|
||||||
|
@ -165,7 +165,7 @@ user_tombstone_expire = 60*86400
|
||||||
-- Archiving configuration
|
-- Archiving configuration
|
||||||
-- See https://prosody.im/doc/modules/mod_mam
|
-- See https://prosody.im/doc/modules/mod_mam
|
||||||
|
|
||||||
archive_expires_after = "4w" -- Remove archived messages after 4 weeks
|
archive_expires_after = "1m" -- Remove archived messages after 1 month
|
||||||
|
|
||||||
-- Audio/video call relay (STUN/TURN)
|
-- Audio/video call relay (STUN/TURN)
|
||||||
-- See https://prosody.im/doc/turn
|
-- See https://prosody.im/doc/turn
|
||||||
|
@ -259,7 +259,7 @@ name = "Rooms (MUC)"
|
||||||
restrict_room_creation = "local"
|
restrict_room_creation = "local"
|
||||||
component_admins_as_room_owners = true
|
component_admins_as_room_owners = true
|
||||||
muc_tombstones = true
|
muc_tombstones = true
|
||||||
muc_tombstone_expiry = 60*86400
|
muc_tombstone_expiry = 60*86400 -- 2 months
|
||||||
max_history_messages = 1
|
max_history_messages = 1
|
||||||
muc_room_default_history_length = 100
|
muc_room_default_history_length = 100
|
||||||
|
|
||||||
|
@ -269,16 +269,16 @@ modules_enabled = { "muc_mam", "vcard_muc", "muc_moderation", "muc_offline_deliv
|
||||||
muc_log_by_default = true
|
muc_log_by_default = true
|
||||||
muc_log_presences = false
|
muc_log_presences = false
|
||||||
log_all_rooms = true
|
log_all_rooms = true
|
||||||
muc_log_expires_after = "4w"
|
muc_log_expires_after = "1m" -- Remove archived messages after 1 month
|
||||||
muc_log_cleanup_interval = 4*60*60
|
muc_log_cleanup_interval = 4*60*60 -- 4 hours
|
||||||
|
|
||||||
-- Hypertext (file sharing)
|
-- Hypertext (file sharing)
|
||||||
-- See https://prosody.im/doc/modules/mod_http_file_share
|
-- See https://prosody.im/doc/modules/mod_http_file_share
|
||||||
Component "hypertext.telepath.im" "http_file_share"
|
Component "hypertext.telepath.im" "http_file_share"
|
||||||
name = "Hypertext (HTTP file share)"
|
name = "Hypertext (HTTP file share)"
|
||||||
http_file_share_size_limit = 100*1024*1024
|
http_file_share_size_limit = 100*1024*1024 -- 100 MiB
|
||||||
http_file_share_global_quota = 200*1024*1024*1024
|
http_file_share_global_quota = 200*1024*1024*1024 -- 200 GiB
|
||||||
http_file_share_expires_after = 28*86400
|
http_file_share_expires_after = 30*86400 -- 1 month
|
||||||
http_external_url = "https://hypertext.telepath.im/"
|
http_external_url = "https://hypertext.telepath.im/"
|
||||||
|
|
||||||
-- Beacon (publish-subscribe)
|
-- Beacon (publish-subscribe)
|
||||||
|
|
Loading…
Add table
Reference in a new issue