summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbwarsaw1999-08-21 04:51:39 +0000
committerbwarsaw1999-08-21 04:51:39 +0000
commit0977d08d1d2425e805a3c42c8c99ed44c49649e2 (patch)
tree3b86186f2a15f839be85ea65091723bfb72951b3
parent7a65eed3b335d9c8f688bcada7b5d87836564c12 (diff)
downloadmailman-0977d08d1d2425e805a3c42c8c99ed44c49649e2.tar.gz
mailman-0977d08d1d2425e805a3c42c8c99ed44c49649e2.tar.zst
mailman-0977d08d1d2425e805a3c42c8c99ed44c49649e2.zip
GZIP_ARCHIVE_TXT_FILES: A new flag which controls whether the
archivers .txt file is gzip'd on the fly. This turns out to be a major performance hit, so it's disabled by default. This means that to update the txt.gz file, you will need to run a cronjob.
-rw-r--r--Mailman/Defaults.py.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/Mailman/Defaults.py.in b/Mailman/Defaults.py.in
index 6cee9f7a8..f6f693965 100644
--- a/Mailman/Defaults.py.in
+++ b/Mailman/Defaults.py.in
@@ -62,6 +62,13 @@ ARCHIVE_TO_MBOX = 2
#
DEFAULT_ARCHIVE_VOLUME_FREQUENCY = 1
+# Set this to 1 to enable gzipping of the downloadable archive .txt file.
+# Note that this is /extremely/ inefficient, so an alternative is to just
+# collect the messages in the associated .txt file and run a cron job every
+# night to generate the txt.gz file. There isn't any built-in Mailman support
+# for this yet though.
+GZIP_ARCHIVE_TXT_FILES = 0
+
HOME_PAGE = 'index.html'
MAILMAN_OWNER = 'mailman-owner@%s' % DEFAULT_HOST_NAME