PR: MRM-248

incresed the default indexing interval to twice every hour

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@485660 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Edwin L. Punzalan 2006-12-11 13:36:43 +00:00
parent 62e0518548
commit 6b1c196553
2 changed files with 499 additions and 499 deletions

View File

@ -69,8 +69,8 @@
<name>indexerCronExpression</name>
<version>1.0.0</version>
<type>String</type>
<description>When to run the indexing mechanism. Default is every hour on the hour.</description>
<defaultValue>0 0 * * * ?</defaultValue>
<description>When to run the indexing mechanism. Default is every 0 and 30 mins of any hour.</description>
<defaultValue>0 0,30 * * * ?</defaultValue>
</field>
<field>
<name>globalBlackListPatterns</name>

View File

@ -40,7 +40,7 @@ public class ConfigurationStoreTest
// check default configuration
assertNotNull( "check configuration returned", configuration );
assertEquals( "check configuration has default elements", "0 0 * * * ?",
assertEquals( "check configuration has default elements", "0 0,30 * * * ?",
configuration.getIndexerCronExpression() );
assertNull( "check configuration has default elements", configuration.getIndexPath() );
assertTrue( "check configuration has default elements", configuration.getRepositories().isEmpty() );