From 2becf430c4da701accbafaac1c254abc75505204 Mon Sep 17 00:00:00 2001 From: bwarsaw Date: Fri, 10 Oct 2003 04:07:29 +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 09237edee..a9144afa3 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.3.1