Generates the latest/greatest Maven-based artifacts for the Openfire project, every night.

Build: #200 was successful Scheduled with changes by Guus der Kinderen

Stages & jobs

  1. Build and Package

  2. Deploy

  3. copy nightlies to website

Build result summary

Details

Completed
Queue duration
10 minutes
Duration
18 minutes
Labels
None
Revision
61983eb33651e576b5040b612cea2c8d28278204
Total tests
489
Successful since
#53 ()

Tests

Code commits

Author Commit Message Commit date
Guus der Kinderen Guus der Kinderen 1fcc6d07f2faec42c74efe08cc3efcd7aef55294 OF-2498: Optimize OccupantManager#registerActivity
Whenever any occupant sends some kind of stanza, a 'last activity' timestamp is being updated in OccupantManager. This process should be efficient, but has not been.

This commit introduces a lookup by JID for the occupant to be updated. This replaces a strategy where all occupants were iterated over to find the correct item to update.
Guus der Kinderen Guus der Kinderen 61983eb33651e576b5040b612cea2c8d28278204 OF-2498: Speed up MUCRoom cache size calculation
To calculate the cache size of a MUC room instance, the pre-existing calculation iterated over all messages that it was maintaining as part of the message history strategy. This is a very resource intensive way of calculating the cache size. This commit replaces this with a hardcoded size that is roughly equal to having 25 messages kept in history. This reduces the occuracy of the calculated value, but improves the calculation time dramatically.
Guus der Kinderen Guus der Kinderen 1360aa307d180fe93dde9f0eff90275ffbc72de2 OF-2498: Reduce MUCRole cache size calculations
Whenever a MUCRole instance is being added to a cache, its size is being calculated. This is rather resource intensive.

MUCRole instances are largely immutable: the cache size is unlikely to change a lot. To reduce the amount of recalculations, this change retains the last calculated size for an instance, resetting it only when a change has been applied.

Jira issues

IssueDescriptionStatus
Unknown Issue TypeOF-2498Could not obtain issue details from Jira