[evolution-data-server/evolution-data-server-3-12] Bug 719475 - [IMAPx] Increase multi-fetch chunk size to 32KB



commit 10a21fa5372e14eb9e64ec74b93e349f0ce183e3
Author: Milan Crha <mcrha redhat com>
Date:   Tue May 27 08:32:52 2014 +0200

    Bug 719475 - [IMAPx] Increase multi-fetch chunk size to 32KB
    
    This speeds-up message download significantly. The previous value
    was around 2.5KB, which meant hundreds of requests for multi-mega-byte
    messages.

 camel/providers/imapx/camel-imapx-server.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/camel/providers/imapx/camel-imapx-server.c b/camel/providers/imapx/camel-imapx-server.c
index 5dc9531..a3c4d1b 100644
--- a/camel/providers/imapx/camel-imapx-server.c
+++ b/camel/providers/imapx/camel-imapx-server.c
@@ -62,7 +62,7 @@
 #define QUEUE_UNLOCK(x) (g_rec_mutex_unlock(&(x)->queue_lock))
 
 /* Try pipelining fetch requests, 'in bits' */
-#define MULTI_SIZE (20480)
+#define MULTI_SIZE (32768 * 8)
 
 /* How many outstanding commands do we allow before we just queue them? */
 #define MAX_COMMANDS (10)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]