You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2007/09/19 00:56:20 UTC
svn commit: r577097 - /ofbiz/trunk/framework/service/servicedef/services.xml
Author: jaz
Date: Tue Sep 18 15:56:19 2007
New Revision: 577097
URL: http://svn.apache.org/viewvc?rev=577097&view=rev
Log:
changed so the purgeOldJobs service can only run one at a time to prevent locking on the job sandbox table; when it is running on multiple application servers at the same time
Modified:
ofbiz/trunk/framework/service/servicedef/services.xml
Modified: ofbiz/trunk/framework/service/servicedef/services.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/servicedef/services.xml?rev=577097&r1=577096&r2=577097&view=diff
==============================================================================
--- ofbiz/trunk/framework/service/servicedef/services.xml (original)
+++ ofbiz/trunk/framework/service/servicedef/services.xml Tue Sep 18 15:56:19 2007
@@ -26,7 +26,7 @@
<!-- Service Engine Services -->
<service name="purgeOldJobs" engine="java"
- location="org.ofbiz.service.ServiceUtil" invoke="purgeOldJobs" auth="true" use-transaction="false">
+ location="org.ofbiz.service.ServiceUtil" invoke="purgeOldJobs" auth="true" use-transaction="false" semaphore="wait">
<description>Cleans out old jobs which have been around longer then what is defined in serviceengine.xml</description>
<required-permissions join-type="AND">
<check-permission permission="SERVICE_INVOKE_ANY"/>