Uploaded image for project: 'Openfire'
  1. Openfire
  2. OF-1882

Don't retrieve all offline messages only to count them.

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.5.0
    • Component/s: Core
    • Labels:
      None

      Description

      The implementation in Openfire of XEP-0013 retrieves all messages from the database, only to return a count of unread messages. That is not very effective. Instead, use a database query that sums rows (which is already available).

        Attachments

          Activity

            People

            Assignee:
            guus Guus der Kinderen
            Reporter:
            guus Guus der Kinderen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: