Revision bd30367...
Go back to digest for 13th April 2014Optimization in KDE-PIM
Christian Mollekopf committed changes in [kdepimlibs] /:
ItemSync: Use batch processing and allow throttling
With this patch we process the items in batches and gives resources the
possiblity to throttle the retrieval of messages using the
readyForNextBatch signal. This way we avoid using huge queries and
loading all items into memory, making the whole process a lot less
resource intensive, and make it work for large folder.
REVIEW: 117471
File Changes
Modified 5 files
- akonadi/itemsync.cpp
- akonadi/itemsync.h
- akonadi/resourcebase.cpp
- akonadi/resourcebase.h
- akonadi/tests/itemsynctest.cpp
5 files changed in total