[ https://issues.apache.org/jira/browse/FOR-737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Crossley updated FOR-737: ------------------------------- Summary: Enable dynamic reloading of properties (was: Enabble dynamic reloading of properties) Fixed spelling error in Jira Issue Summary. > Enable dynamic reloading of properties > -------------------------------------- > > Key: FOR-737 > URL: https://issues.apache.org/jira/browse/FOR-737 > Project: Forrest > Issue Type: Sub-task > Components: Core operations > Reporter: Ross Gardler > Priority: Minor > > Since properties will no longer need to be defined in the forrest.xconf file > it will be possible to enable dynamic reloading of properties at runtime. > All we need to do is keep a check of when the properties file was last loaded > and check this against the last modified time of the properties file. When > necessary reload. > This should be configurable though as it has implications on performance > since the check will be made every time an property value is retreived. > I suggest the following options: > - always check and reload when the file changes > - only check and reload when a property value is not currently defined > - only check and reload every X minutes (should above to options should apply > here too) > - never check and reload > The initial settings for this reload option can be set in the properties file > itself and applied when it is loaded/reloaded. Of course, this means if it is > set to "never check and reload" a restart will be required to have changes > take effect. Therefore this setting is for production servers only. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.