ItemSync: Only fetch the items that are actually required.

Review Request #117140 - Created March 28, 2014 and submitted

Information
Christian Mollekopf
kdepimlibs
4.13
Reviewers
kdepimlibs
ItemSync: Only fetch the items that are actually required.

ItemSync used to fetch *all* items during *every* sync, which is in most cases
completely unnecessary (at least for incremental sync). This patch delays the
fetch of items until we know which ones we need, and then only fetches the
required ones (usually none), resulting in an IMAP sync going from 10s 100%,
to a couple of seconds 1% cpu.
Running it locally, unittest passes.

Issues

  • 1
  • 0
  • 0
  • 1
Description From Last Updated
This probably should not be there, says Christian Daniel Vrátil Daniel Vrátil
Daniel Vrátil
Daniel Vrátil
Commit Hook
This review has been submitted with commit fea76877c667afe920979dc5287640b893f53656 by Christian Mollekopf to branch KDE/4.13.
Christian Mollekopf
Review request changed

Status: Closed (submitted)

Loading...