dovecot-1.2: Increased search_nonblock() to go through 50 messag...

dovecot at dovecot.org dovecot at dovecot.org
Sun Nov 30 16:29:21 EET 2008


details:   http://hg.dovecot.org/dovecot-1.2/rev/2eede4287841
changeset: 8509:2eede4287841
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Nov 30 16:29:17 2008 +0200
description:
Increased search_nonblock() to go through 50 messages at a time.

diffstat:

2 files changed, 2 insertions(+), 2 deletions(-)
src/lib-storage/index/index-search.c |    2 +-
src/plugins/fts/fts-storage.c        |    2 +-

diffs (24 lines):

diff -r 689a63a99363 -r 2eede4287841 src/lib-storage/index/index-search.c
--- a/src/lib-storage/index/index-search.c	Sun Nov 30 16:28:46 2008 +0200
+++ b/src/lib-storage/index/index-search.c	Sun Nov 30 16:29:17 2008 +0200
@@ -23,7 +23,7 @@
 #define TXT_UNKNOWN_CHARSET "[BADCHARSET] Unknown charset"
 #define TXT_INVALID_SEARCH_KEY "Invalid search key"
 
-#define SEARCH_NONBLOCK_COUNT 20
+#define SEARCH_NONBLOCK_COUNT 50
 #define SEARCH_NOTIFY_INTERVAL_SECS 10
 
 struct index_search_context {
diff -r 689a63a99363 -r 2eede4287841 src/plugins/fts/fts-storage.c
--- a/src/plugins/fts/fts-storage.c	Sun Nov 30 16:28:46 2008 +0200
+++ b/src/plugins/fts/fts-storage.c	Sun Nov 30 16:29:17 2008 +0200
@@ -21,7 +21,7 @@
 #define FTS_MAIL_CONTEXT(obj) \
 	MODULE_CONTEXT(obj, fts_mail_module)
 
-#define FTS_SEARCH_NONBLOCK_COUNT 10
+#define FTS_SEARCH_NONBLOCK_COUNT 50
 #define FTS_BUILD_NOTIFY_INTERVAL_SECS 10
 
 struct fts_mail {


More information about the dovecot-cvs mailing list