aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbwarsaw <>2003-10-10 04:10:45 +0000
committerbwarsaw <>2003-10-10 04:10:45 +0000
commit9677a0b73f1004bd1646f5c1f96fa85e0d1af80b (patch)
tree2cf4d170808a6720f2585062b35ee701867999fa
parent738800a7e972bf4f463a7619fb512533aa5918f4 (diff)
downloadmailman2-9677a0b73f1004bd1646f5c1f96fa85e0d1af80b.tar.gz
mailman2-9677a0b73f1004bd1646f5c1f96fa85e0d1af80b.tar.xz
mailman2-9677a0b73f1004bd1646f5c1f96fa85e0d1af80b.zip
Promote SYNC_AFTER_WRITE to a Defaults.py/mm_cfg.py variable after
all, since we have the same potential problem (and solution) for the MailList config.pck files that we did for the msg.pck files.
-rw-r--r--Mailman/Defaults.py.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/Mailman/Defaults.py.in b/Mailman/Defaults.py.in
index 34748afb..95e6fd44 100644
--- a/Mailman/Defaults.py.in
+++ b/Mailman/Defaults.py.in
@@ -679,6 +679,12 @@ QRUNNER_SLEEP_TIME = seconds(1)
# them in qfiles/bad subdirectory.
QRUNNER_SAVE_BAD_MESSAGES = Yes
+# This flag causes Mailman to fsync() its data files after writing and
+# flushing its contents. While this ensures the data is written to disk,
+# avoiding data loss, it may be a performance killer. Note that this flag
+# affects both message pickles and MailList config.pck files.
+SYNC_AFTER_WRITE = No
+
#####