mirror of https://github.com/apache/archiva.git
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:
parent
62e0518548
commit
6b1c196553
|
@ -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>
|
||||
|
|
|
@ -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() );
|
||||
|
|
Loading…
Reference in New Issue