You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2010/10/01 09:49:30 UTC

svn commit: r1003418 - /ofbiz/trunk/framework/service/entitydef/entitymodel.xml

Author: jleroux
Date: Fri Oct  1 07:49:30 2010
New Revision: 1003418

URL: http://svn.apache.org/viewvc?rev=1003418&view=rev
Log:
A patch from Sascha Rodekamp "The Job Sandbox should never be cached" (https://issues.apache.org/jira/browse/OFBIZ-3968) - OFBIZ-3968

Sascha: We noticed that OFBiz was sending cache clears over JMS every time the job sandbox is changed. That's not a problem with one OFBiz Instance but with 20, when every instance is sending JMS messages to each other ... you can imagine...

Scott: I'd agree with this, there is really no good reason to cache JobSandbox values even though I don't believe any code does this at the moment. On a side note I ran into some problems with the Job Poller when it's under a heavy load recently and as soon as I get a chance I'll be working to reproduce and fix the issues.

Modified:
    ofbiz/trunk/framework/service/entitydef/entitymodel.xml

Modified: ofbiz/trunk/framework/service/entitydef/entitymodel.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/entitydef/entitymodel.xml?rev=1003418&r1=1003417&r2=1003418&view=diff
==============================================================================
--- ofbiz/trunk/framework/service/entitydef/entitymodel.xml (original)
+++ ofbiz/trunk/framework/service/entitydef/entitymodel.xml Fri Oct  1 07:49:30 2010
@@ -40,7 +40,7 @@ under the License.
   <!-- ========================================================= -->
 
     <entity entity-name="JobSandbox" package-name="org.ofbiz.service.schedule" title="Job Scheduler Sandbox Entity"
-            sequence-bank-size="100">
+            sequence-bank-size="100" never-cache="true">
         <field name="jobId" type="id-ne"></field>
         <field name="jobName" type="name"></field>
         <field name="runTime" type="date-time"></field>