From 9677a0b73f1004bd1646f5c1f96fa85e0d1af80b Mon Sep 17 00:00:00 2001 From: bwarsaw <> Date: Fri, 10 Oct 2003 04:10:45 +0000 Subject: 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. --- Mailman/Defaults.py.in | 6 ++++++ 1 file changed, 6 insertions(+) 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 + ##### -- cgit v1.2.3