Skip to content

Commit

Permalink
fixed rate limit comparison bug (#951)
Browse files Browse the repository at this point in the history
  • Loading branch information
scottf authored Aug 11, 2023
1 parent f362bc7 commit 19aa491
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/io/nats/client/impl/NatsJetStream.java
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ public List<String> getChanges(ConsumerConfiguration serverCc) {
if (memStorage != null && memStorage != serverCcc.isMemStorage()) { changes.add("memStorage"); };

if (startSeq != null && !startSeq.equals(serverCcc.getStartSequence())) { changes.add("startSequence"); };
if (rateLimit != null && !rateLimit.equals(serverCcc.getStartSequence())) { changes.add("rateLimit"); };
if (rateLimit != null && !rateLimit.equals(serverCcc.getRateLimit())) { changes.add("rateLimit"); };

if (maxDeliver != null && maxDeliver != serverCcc.getMaxDeliver()) { changes.add("maxDeliver"); };
if (maxAckPending != null && maxAckPending != serverCcc.getMaxAckPending()) { changes.add("maxAckPending"); };
Expand Down

0 comments on commit 19aa491

Please sign in to comment.