Skip to content

Commit

Permalink
Merge pull request DSpace#1285 from helix84/DS-3048-lower-config-relo…
Browse files Browse the repository at this point in the history
…ad-check

DS-3048 change config reload limit from 60 to 5 seconds
  • Loading branch information
tdonohue committed Feb 8, 2016
2 parents b1fe041 + 01c9976 commit 81d2b7b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions dspace/config/config-definition.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,17 @@
<!-- Allow user to override any configs in a local.cfg -->
<!-- Any properties in this config will override defaults in dspace.cfg (or any included *.cfg file) -->
<properties fileName="local.cfg" throwExceptionOnMissing="false" config-name="local" config-optional="true">
<!-- Reload this file if it has changed, and at least 1 minute (60,000 ms) has passed -->
<reloadingStrategy refreshDelay="60000"
<!-- Reload this file if it has changed, and at least 5 seconds (5,000 ms) have passed -->
<reloadingStrategy refreshDelay="5000"
config-class="org.apache.commons.configuration.reloading.FileChangedReloadingStrategy"/>
</properties>

<!-- Load our dspace.cfg (which in turn loads all module configs via "include=" statements) -->
<properties fileName="dspace.cfg" throwExceptionOnMissing="true">
<!-- Reload this file if it has changed, and at least 1 minute (60,000 ms) has passed -->
<reloadingStrategy refreshDelay="60000"
<!-- Reload this file if it has changed, and at least 5 seconds (5,000 ms) have passed -->
<reloadingStrategy refreshDelay="5000"
config-class="org.apache.commons.configuration.reloading.FileChangedReloadingStrategy"/>
</properties>
</override>

</configuration>
</configuration>

0 comments on commit 81d2b7b

Please sign in to comment.