Skip to content
Snippets Groups Projects
Commit c3967eea authored by gpawel's avatar gpawel
Browse files

Disabling index updater when application context is loaded for the 1st time

SVN: 26380
parent c9227de0
No related branches found
No related tags found
No related merge requests found
......@@ -11,4 +11,20 @@
<import resource="genericApplicationContext.xml"/>
<bean class="org.springframework.scheduling.timer.TimerFactoryBean">
<property name="scheduledTimerTasks">
<list>
<bean class="org.springframework.scheduling.timer.ScheduledTimerTask">
<property name="delay" value="0" />
<property name="runnable" ref="full-text-indexer" />
</bean>
<bean class="org.springframework.scheduling.timer.ScheduledTimerTask">
<property name="delay" value="1000" />
<property name="runnable" ref="dynamic-property-evaluator" />
</bean>
</list>
</property>
<property name="daemon" value="true" />
</bean>
</beans>
\ No newline at end of file
......@@ -190,21 +190,4 @@
<constructor-arg ref="full-text-index-updater" />
<constructor-arg ref="dynamic-property-scheduler" />
</bean>
<bean class="org.springframework.scheduling.timer.TimerFactoryBean">
<property name="scheduledTimerTasks">
<list>
<bean class="org.springframework.scheduling.timer.ScheduledTimerTask">
<property name="delay" value="0" />
<property name="runnable" ref="full-text-indexer" />
</bean>
<bean class="org.springframework.scheduling.timer.ScheduledTimerTask">
<property name="delay" value="1000" />
<property name="runnable" ref="dynamic-property-evaluator" />
</bean>
</list>
</property>
<property name="daemon" value="true" />
</bean>
</beans>
\ No newline at end of file
......@@ -11,8 +11,9 @@
http://www.springframework.org/schema/context/spring-context-2.5.xsd
">
<import resource="applicationContext.xml"/>
<import resource="genericCommonContext.xml"/>
<import resource="genericApplicationContext.xml"/>
<bean name="bootstrap" class="ch.systemsx.cisd.common.spring.Bootstrapper">
<property name="configLocation" value="classpath:applicationContext.xml" />
<property name="conditionalConfigLocations">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment