From de9d8e5a23fff8d4cd3f84134506533e8ecf57fe Mon Sep 17 00:00:00 2001 From: "telepath.im" Date: Mon, 8 Jul 2024 11:30:19 +0200 Subject: [PATCH] Bumped MAM archive expiry and file retention to 1 month --- etc/prosody/prosody.cfg.lua | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/etc/prosody/prosody.cfg.lua b/etc/prosody/prosody.cfg.lua index b4459ac..127c299 100644 --- a/etc/prosody/prosody.cfg.lua +++ b/etc/prosody/prosody.cfg.lua @@ -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)