Skip to content

Commit

Permalink
refactor #1165, #1386
Browse files Browse the repository at this point in the history
  • Loading branch information
vrindanayak committed Jul 25, 2018
1 parent 3b6d91f commit 8f11e00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ private int rescheduleTasks(Predicate matchQueueMessage, Predicate matchDiffTask
} while (count >= rescheduleTasksFetchSize);
LOG.info("Successfully rescheduled {} tasks on device: {}.", rescheduled, device.getDeviceName());
queueEvent.setCount(rescheduled);
return count;
return rescheduled;
} catch (Exception e) {
queueEvent.setException(e);
throw e;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ private int rescheduleTasks(Predicate matchQueueMessage, Predicate matchRetrieve
} while (count >= rescheduleTasksFetchSize);
queueEvent.setCount(rescheduled);
LOG.info("Successfully rescheduled {} tasks on device: {}.", rescheduled, device.getDeviceName());
return count;
return rescheduled;
} catch (Exception e) {
queueEvent.setException(e);
throw e;
Expand Down

0 comments on commit 8f11e00

Please sign in to comment.