0
0
Fork 0

Bumped MAM archive expiry and file retention to 1 month

This commit is contained in:
telepath.im 2024-07-08 11:30:19 +02:00
parent aaa48ef881
commit de9d8e5a23

View file

@ -150,7 +150,7 @@ registration_notification = "User $username just registered on $host"
-- Tombstones
-- See https://prosody.im/doc/modules/mod_tombstones
user_tombstone_expire = 60*86400
user_tombstone_expire = 60*86400 -- 2 months
-- Storage
-- See https://prosody.im/doc/storage
@ -165,7 +165,7 @@ user_tombstone_expire = 60*86400
-- Archiving configuration
-- 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)
-- See https://prosody.im/doc/turn
@ -259,7 +259,7 @@ name = "Rooms (MUC)"
restrict_room_creation = "local"
component_admins_as_room_owners = true
muc_tombstones = true
muc_tombstone_expiry = 60*86400
muc_tombstone_expiry = 60*86400 -- 2 months
max_history_messages = 1
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_presences = false
log_all_rooms = true
muc_log_expires_after = "4w"
muc_log_cleanup_interval = 4*60*60
muc_log_expires_after = "1m" -- Remove archived messages after 1 month
muc_log_cleanup_interval = 4*60*60 -- 4 hours
-- Hypertext (file sharing)
-- See https://prosody.im/doc/modules/mod_http_file_share
Component "hypertext.telepath.im" "http_file_share"
name = "Hypertext (HTTP file share)"
http_file_share_size_limit = 100*1024*1024
http_file_share_global_quota = 200*1024*1024*1024
http_file_share_expires_after = 28*86400
http_file_share_size_limit = 100*1024*1024 -- 100 MiB
http_file_share_global_quota = 200*1024*1024*1024 -- 200 GiB
http_file_share_expires_after = 30*86400 -- 1 month
http_external_url = "https://hypertext.telepath.im/"
-- Beacon (publish-subscribe)