We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b592e0a commit 4317a85Copy full SHA for 4317a85
1 file changed
framework/jobs/src/org/apache/cloudstack/framework/jobs/dao/VmWorkJobDaoImpl.java
@@ -140,7 +140,7 @@ public void expungeCompletedWorkJobs(final Date cutDate) {
140
// loop at application level to avoid mysql deadlock issues
141
SearchCriteria<VmWorkJobVO> sc = ExpungingWorkJobSearch.create();
142
sc.setParameters("jobStatus", JobInfo.Status.IN_PROGRESS);
143
- sc.setParameters("lastUpdated", cutDate);
+ sc.setParameters("cutDate", cutDate);
144
sc.setParameters("dispatcher", "VmWorkJobDispatcher");
145
List<VmWorkJobVO> expungeList = listBy(sc);
146
for (VmWorkJobVO job : expungeList) {
0 commit comments