Skip to content

Commit

Permalink
0002191: Unrouted batches end up with a status of NE and never get pu…
Browse files Browse the repository at this point in the history
…rged
  • Loading branch information
chenson42 committed Feb 12, 2015
1 parent 877ea80 commit f6c8963
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -147,7 +147,7 @@ public void updateAbandonedRoutingBatches() {
int count = sqlTemplate.queryForInt(getSql("countOutgoingBatchesWithStatusSql"), Status.RT.name());
if (count > 0) {
log.info("Cleaning up {} batches that were abandoned by a failed or aborted attempt at routing", count);
sqlTemplate.update(getSql("updateOutgoingBatchesStatusSql"), Status.NE.name(),
sqlTemplate.update(getSql("updateOutgoingBatchesStatusSql"), Status.OK.name(),
Status.RT.name());
}
}
Expand Down

0 comments on commit f6c8963

Please sign in to comment.