Skip to content

Commit

Permalink
0006044: ConcurrentConnectionManager expects nodeId-channel in the white
Browse files Browse the repository at this point in the history
list, but only the nodeId is put in the white list
  • Loading branch information
Philip Marzullo committed Oct 23, 2023
1 parent 1075d94 commit fa12c5a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public synchronized ReservationStatus reserveConnection(String nodeId, String ch
log.info(message, nodeId, channelId, poolId);
}
return ReservationStatus.NOT_FOUND;
} else if (reservations.size() < maxPoolSize || existingReservation != null || whiteList.contains(reservationId)) {
} else if (reservations.size() < maxPoolSize || existingReservation != null || whiteList.contains(nodeId)) {
if (existingReservation == null || existingReservation.getType() == ReservationType.SOFT) {
reservations.put(reservationId, new Reservation(reservationId,
reservationRequest == ReservationType.SOFT ? System.currentTimeMillis()
Expand Down

0 comments on commit fa12c5a

Please sign in to comment.