summaryrefslogtreecommitdiff
path: root/mail/changes/bug_safety-check-for-last-uid
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2014-01-15 17:05:24 -0400
committerKali Kaneko <kali@leap.se>2014-01-15 21:32:59 -0400
commit970546c866b0f5afcd2ea5c6e741b0933273e2aa (patch)
treea1ad222d98956f33e1244a679e456aedcaf8a550 /mail/changes/bug_safety-check-for-last-uid
parentfd8347d40f6c7d5283fbac30e11c234c819bd6fe (diff)
Performance improvement on FLAGS-only FETCH
* Compute the intersection set of the uids on a FETCH, so we avoid iterating through the non-existant UIDs. * Dispatch FLAGS query to our specialized method, that fetches all the flags documents and return objects that only specify one subset of the MessagePart interface, apt to render flags quickly with less queries overhead. * Overwrite the do_FETCH command in the imap Server to use fetch_flags. * Use deferLater for a better dispatch of tasks in the reactor.
Diffstat (limited to 'mail/changes/bug_safety-check-for-last-uid')
0 files changed, 0 insertions, 0 deletions