dovecot: Don't cache anything by default. flags aren't useful wi...

dovecot at dovecot.org dovecot at dovecot.org
Thu Jul 12 03:21:47 EEST 2007


details:   http://hg.dovecot.org/dovecot/rev/a0b3228be6d2
changeset: 5948:a0b3228be6d2
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Jul 12 02:38:37 2007 +0300
description:
Don't cache anything by default. flags aren't useful with pop3.

diffstat:

2 files changed, 2 insertions(+), 2 deletions(-)
src/lib-storage/index/index-storage.c |    2 +-
src/master/master-settings.c          |    2 +-

diffs (24 lines):

diff -r 7ebe0593f488 -r a0b3228be6d2 src/lib-storage/index/index-storage.c
--- a/src/lib-storage/index/index-storage.c	Thu Jul 12 02:33:49 2007 +0300
+++ b/src/lib-storage/index/index-storage.c	Thu Jul 12 02:38:37 2007 +0300
@@ -16,7 +16,7 @@
 
 #define CREATE_MODE 0770 /* umask() should limit it more */
 
-#define DEFAULT_CACHE_FIELDS "flags"
+#define DEFAULT_CACHE_FIELDS ""
 #define DEFAULT_NEVER_CACHE_FIELDS "imap.envelope"
 
 /* How many seconds to keep index opened for reuse after it's been closed */
diff -r 7ebe0593f488 -r a0b3228be6d2 src/master/master-settings.c
--- a/src/master/master-settings.c	Thu Jul 12 02:33:49 2007 +0300
+++ b/src/master/master-settings.c	Thu Jul 12 02:38:37 2007 +0300
@@ -220,7 +220,7 @@ struct settings default_settings = {
 
 	MEMBER(default_mail_env) "",
 	MEMBER(mail_location) "",
-	MEMBER(mail_cache_fields) "flags",
+	MEMBER(mail_cache_fields) "",
 	MEMBER(mail_never_cache_fields) "imap.envelope",
 	MEMBER(mail_cache_min_mail_count) 0,
 	MEMBER(mailbox_idle_check_interval) 30,


More information about the dovecot-cvs mailing list