Skip to content

Commit

Permalink
0004175: Node communication query for unsent batches not using index on
Browse files Browse the repository at this point in the history
Oracle
  • Loading branch information
erilong committed Jan 2, 2020
1 parent 0b8d145 commit f705488
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -251,8 +251,8 @@ public List<NodeCommunication> list(CommunicationType communicationType) {

protected List<String> getNodeIdsWithUnsentCount() {
return sqlTemplate.query(getSql("selectNodeIdsWithUnsentBatchsSql"),
new StringMapper(), OutgoingBatch.Status.ER, OutgoingBatch.Status.NE, OutgoingBatch.Status.QY,
OutgoingBatch.Status.SE, OutgoingBatch.Status.LD, OutgoingBatch.Status.IG, OutgoingBatch.Status.RS);
new StringMapper(), OutgoingBatch.Status.ER.name(), OutgoingBatch.Status.NE.name(), OutgoingBatch.Status.QY.name(),
OutgoingBatch.Status.SE.name(), OutgoingBatch.Status.LD.name(), OutgoingBatch.Status.IG.name(), OutgoingBatch.Status.RS.name());
}

protected List<NodeCommunication> filterForChannelThreading(List<Node> nodesToCommunicateWith) {
Expand Down

0 comments on commit f705488

Please sign in to comment.