Uploaded image for project: 'James Imap'
  1. James Imap
  2. IMAP-156

Get the count of all messages and the count of all recent messages is very slow

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • None
    • 0.1
    • Mailbox
    • None

    Description

      1) When selecting a Mailbox (a select INBOX) the count of all messages and the count of all recent messages get calculated on the fly. That
      works well on small mailboxes, but as more messages you have as slower it get.

      I would like to store the messageCount and recentMessageCount in the Mailbox and just update these on append/setFlags/expunge operations.
      To be sure we don't get corrupted data somehow, we should create some kind of backgroundprocess which recalculate these counts every X
      hours.

      Attachments

        Activity

          People

            norman Norman Maurer
            norman Norman Maurer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: