Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-6182

Improve getNumberOfPushMessagesForLoginName JPQL

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • IR289 PushDocker
    • 8

      Query for "getNumberOfPushMessagesForLoginName()" in "JPAPushMessageInformationDao" is not the best:

      https://github.com/aerogear/aerogear-unifiedpush-server/blob/1.1.x-dev/model/jpa/src/main/java/org/jboss/aerogear/unifiedpush/jpa/dao/impl/JPAPushMessageInformationDao.java#L89-L91

      Execution of the query can take long time, while running the query in different, separate parts gives much better result.

      I've pinged gunnar.morling for help on this

            Unassigned Unassigned
            mwessend@redhat.com Matthias Wessendorf
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: