Skip to content

Commit

Permalink
Revert similar change in PersistentDispatcherMultipleConsumersClassic
Browse files Browse the repository at this point in the history
  • Loading branch information
lhotari committed Jan 16, 2025
1 parent d09c066 commit cd14e7b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -600,9 +600,8 @@ public synchronized CompletableFuture<Void> disconnectAllConsumers(

@Override
protected void cancelPendingRead() {
if ((havePendingRead || havePendingReplayRead) && cursor.cancelPendingReadRequest()) {
if (havePendingRead && cursor.cancelPendingReadRequest()) {
havePendingRead = false;
havePendingReplayRead = false;
}
}

Expand Down

0 comments on commit cd14e7b

Please sign in to comment.