Author: jacopoc
Date: Tue Jan 27 11:32:31 2015
New Revision: 1655013

URL: http://svn.apache.org/r1655013
Log:
Reverting my last commit for now as it because, after furthr testing it has no 
effect on the deadlock issue we are facing (the cache is already disabled by 
default so the change I did was irrelevant).


Modified:
    ofbiz/trunk/framework/service/src/org/ofbiz/service/job/JobManager.java

Modified: 
ofbiz/trunk/framework/service/src/org/ofbiz/service/job/JobManager.java
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/src/org/ofbiz/service/job/JobManager.java?rev=1655013&r1=1655012&r2=1655013&view=diff
==============================================================================
--- ofbiz/trunk/framework/service/src/org/ofbiz/service/job/JobManager.java 
(original)
+++ ofbiz/trunk/framework/service/src/org/ofbiz/service/job/JobManager.java Tue 
Jan 27 11:32:31 2015
@@ -292,7 +292,7 @@ public final class JobManager {
         EntityCondition statusCondition = 
EntityCondition.makeCondition(statusExprList, EntityOperator.OR);
         EntityCondition mainCondition = 
EntityCondition.makeCondition(UtilMisc.toList(EntityCondition.makeCondition("runByInstanceId",
 instanceId), statusCondition));
         try {
-            crashed = 
EntityQuery.use(delegator).from("JobSandbox").where(mainCondition).orderBy("startDateTime").cache(false).queryList();
+            crashed = 
EntityQuery.use(delegator).from("JobSandbox").where(mainCondition).orderBy("startDateTime").queryList();
         } catch (GenericEntityException e) {
             Debug.logWarning(e, "Unable to load crashed jobs", module);
         }


Reply via email to