[geary/wip/search-fixes: 26/29] Bump ConversationMonitor op batch size right up



commit 276ada636978c7eb646a5d9809f8399f6495f4a2
Author: Michael Gratton <mike vee net>
Date:   Tue Aug 6 21:20:58 2019 +1000

    Bump ConversationMonitor op batch size right up
    
    Small batches take a much longer total time to complete since they
    likely involve opening and closing a number of folders.

 src/engine/app/conversation-monitor/app-conversation-operation.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/engine/app/conversation-monitor/app-conversation-operation.vala 
b/src/engine/app/conversation-monitor/app-conversation-operation.vala
index 118b3484..1dfe72e5 100644
--- a/src/engine/app/conversation-monitor/app-conversation-operation.vala
+++ b/src/engine/app/conversation-monitor/app-conversation-operation.vala
@@ -39,7 +39,7 @@ internal abstract class Geary.App.ConversationOperation : BaseObject {
 internal abstract class Geary.App.BatchOperation<T> : ConversationOperation {
 
 
-    private const int BATCH_MAX_N = 20;
+    private const int BATCH_MAX_N = 100;
 
 
     private Gee.Collection<T> full;


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