Skip to content
Snippets Groups Projects
Commit 17f856e9 authored by srosse's avatar srosse
Browse files

FXOLAT-358: move the special background task manager for the RepositoryManager...

FXOLAT-358: move the special background task manager for the RepositoryManager in the package org.olat.repository
parent 6f54413c
No related branches found
No related tags found
No related merge requests found
...@@ -31,4 +31,10 @@ ...@@ -31,4 +31,10 @@
<constructor-arg index="1" ref="org.olat.core.commons.persistence.async.BackgroundTaskQueueManager" /> <constructor-arg index="1" ref="org.olat.core.commons.persistence.async.BackgroundTaskQueueManager" />
</bean> </bean>
<!-- BackgroundTaskQueueManager for increment launch-,download-counter and set LastUsage in background thread -->
<bean id="org.olat.core.commons.persistence.async.BackgroundTaskQueueManager" class="org.olat.repository.async.BackgroundTaskQueueManager">
<!-- Number of retries when a task failed e.g. incrementLaunchCounter try 20 times to increment when a exception occurs -->
<property name="maxRetry" value="20"/>
</bean>
</beans> </beans>
\ No newline at end of file
...@@ -283,11 +283,7 @@ init-method="springInit" destroy-method="stop" lazy-init="true"> ...@@ -283,11 +283,7 @@ init-method="springInit" destroy-method="stop" lazy-init="true">
<property name="brokerURL" value="${jms.broker.url}" /> <!-- e.g.: tcp://localhost:61616 --> <property name="brokerURL" value="${jms.broker.url}" /> <!-- e.g.: tcp://localhost:61616 -->
</bean> </bean>
<!-- BackgroundTaskQueueManager for increment launch-,download-counter and set LastUsage in background thread -->
<bean id="org.olat.core.commons.persistence.async.BackgroundTaskQueueManager" class="org.olat.core.commons.persistence.async.BackgroundTaskQueueManager">
<!-- Number of retries when a task failed e.g. incrementLaunchCounter try 20 times to increment when a exception occurs -->
<property name="maxRetry" value="20"/>
</bean>
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<bean id="baseSecurityManager" class="org.olat.basesecurity.BaseSecurityManager"></bean> <bean id="baseSecurityManager" class="org.olat.basesecurity.BaseSecurityManager"></bean>
<!-- BackgroundTaskQueueManager for increment launch-,download-counter and set LastUsage in background thread --> <!-- BackgroundTaskQueueManager for increment launch-,download-counter and set LastUsage in background thread -->
<bean id="backgroundTaskQueueManager" class="org.olat.core.commons.persistence.async.BackgroundTaskQueueManager"> <bean id="backgroundTaskQueueManager" class="org.olat.repository.async.BackgroundTaskQueueManager">
<!-- Number of retries when a task failed e.g. incrementLaunchCounter try 20 times to increment when a exception occurs --> <!-- Number of retries when a task failed e.g. incrementLaunchCounter try 20 times to increment when a exception occurs -->
<property name="maxRetry" value="20"/> <property name="maxRetry" value="20"/>
</bean> </bean>
......
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