-
Notifications
You must be signed in to change notification settings - Fork 75
v0.2.47..v0.2.48 changeset JobRunnable.java
Garret Voltz edited this page Sep 27, 2019
·
1 revision
diff --git a/hoot-services/src/main/java/hoot/services/job/JobRunnable.java b/hoot-services/src/main/java/hoot/services/job/JobRunnable.java
index 331b913..b87f049 100644
--- a/hoot-services/src/main/java/hoot/services/job/JobRunnable.java
+++ b/hoot-services/src/main/java/hoot/services/job/JobRunnable.java
@@ -93,6 +93,10 @@ class JobRunnable implements Runnable {
}
jobStatusManager.setCompleted(job.getJobId(), "FULLY PROCESSED");
+
+ if(job.getJobType().equals(JobType.UPLOAD_CHANGESET)){
+ DbUtils.setStale(job.getParentId());
+ }
}
catch (Exception e) {
jobStatusManager.setFailed(job.getJobId(),