Details

    • Type: Sub-task
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Core operations
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rgardler Ross Gardler
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: