[geary/mjog/invert-folder-class-hierarchy: 348/362] Geary.Imap.MinimalFolder: Update flag updater to use larger batch sizes
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/mjog/invert-folder-class-hierarchy: 348/362] Geary.Imap.MinimalFolder: Update flag updater to use larger batch sizes
- Date: Wed, 24 Feb 2021 11:54:51 +0000 (UTC)
commit 7ad630207070c4a59457b2e8390936e6f4e45426
Author: Michael Gratton <mike vee net>
Date: Wed Feb 17 21:39:02 2021 +1100
Geary.Imap.MinimalFolder: Update flag updater to use larger batch sizes
Since with the `get_multiple_email_by_id` change in the last commit,
he flag updater now accesses the remote directly and optimise the IMAP
commands sent somewhat. As a result, larger batch sizes can reduce
the number of bytes transmitted, and reduce the effects of network
latency a bit as well.
src/engine/imap-engine/imap-engine-minimal-folder.vala | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/engine/imap-engine/imap-engine-minimal-folder.vala
b/src/engine/imap-engine/imap-engine-minimal-folder.vala
index 6ee57bcda..516815b51 100644
--- a/src/engine/imap-engine/imap-engine-minimal-folder.vala
+++ b/src/engine/imap-engine/imap-engine-minimal-folder.vala
@@ -30,8 +30,8 @@ private class Geary.ImapEngine.MinimalFolder : BaseObject,
private const int FLAG_UPDATE_TIMEOUT_SEC = 2;
- private const int FLAG_UPDATE_START_CHUNK = 20;
- private const int FLAG_UPDATE_MAX_CHUNK = 100;
+ private const int FLAG_UPDATE_START_CHUNK = 16;
+ private const int FLAG_UPDATE_MAX_CHUNK = 1024;
private const int FORCE_OPEN_REMOTE_TIMEOUT_SEC = 10;
private const int REFRESH_UNSEEN_TIMEOUT_SEC = 1;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]