Skip to content

Commit

Permalink
0005819: OutgoingBatchService loadPendingBatches should use read
Browse files Browse the repository at this point in the history
uncommitted to minimize deadlocking possibilities
  • Loading branch information
Philip Marzullo committed May 2, 2023
1 parent 44bea41 commit 3106b74
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -562,7 +562,7 @@ public OutgoingBatches getOutgoingBatches(String nodeId, String channelThread, N
types = new int[] { Types.VARCHAR, Types.CHAR, Types.CHAR, Types.CHAR, Types.CHAR, Types.CHAR, Types.CHAR, Types.CHAR,
Types.CHAR };
}
List<OutgoingBatch> list = (List<OutgoingBatch>) sqlTemplate.query(sql, maxNumberOfBatchesToSelect,
List<OutgoingBatch> list = (List<OutgoingBatch>) sqlTemplateDirty.query(sql, maxNumberOfBatchesToSelect,
new OutgoingBatchMapper(includeDisabledChannels), params, types);
OutgoingBatches batches = new OutgoingBatches(list);
List<NodeChannel> channels = new ArrayList<NodeChannel>(configurationService.getNodeChannels(nodeId, true));
Expand Down

0 comments on commit 3106b74

Please sign in to comment.