summaryrefslogtreecommitdiffstats
path: root/common/domain/mail.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-01-10 11:28:53 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-01-10 11:28:53 +0100
commit8e84c8a78b7e308cc2b09241af649851036d11de (patch)
treee4b8b964aa7400e9f1d88b04cadcabb423e039dd /common/domain/mail.cpp
parent5064e5c9a705365524321e01686e73ac1bdf28a0 (diff)
downloadsink-8e84c8a78b7e308cc2b09241af649851036d11de.tar.gz
sink-8e84c8a78b7e308cc2b09241af649851036d11de.zip
Improved imap mail sync algorithm.
* when requesting individual mails we sync the full content * when requesting individual folders we get 2 weeks of full content + headers for everything else. * when requesting a sync for all folders we only get 2 weeks of full content. Getting the headers for 50k messages takes about 180s on my system with kolabnow (network being the bottleneck), so that's managable. Getting the full content would take in the range of hours. This way we have something to show, and a way to request more data, without making the system overly complex yet. Certainly not the final solution, but a good start.
Diffstat (limited to 'common/domain/mail.cpp')
0 files changed, 0 insertions, 0 deletions