maxLifetime settings of a cache take effect on runtime

Description

https://github.com/igniterealtime/Openfire/pull/1505

 

It was just a typo. Also introduced constants for the property
parameters.

By testing this change I noticed that it is impossible to clear the cache properties because they are immediately rewritten with the default value. Is this intended?

Environment

None
Fixed
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Guus der Kinderen

Reporter

Daryl Herzmann