Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Technoboy- committed Apr 16, 2024
1 parent d4bbab8 commit 29d3798
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3178,7 +3178,7 @@ protected void internalGetBacklogSizeByMessageId(AsyncResponse asyncResponse,
} else {
return CompletableFuture.completedFuture(null);
}
}).thenAccept(__ -> validateTopicOwnershipAsync(topicName, authoritative)
}).thenCompose(__ -> validateTopicOwnershipAsync(topicName, authoritative))
.thenCompose(unused -> getTopicReferenceAsync(topicName))
.thenAccept(t -> {
PersistentTopic topic = (PersistentTopic) t;
Expand All @@ -3204,7 +3204,7 @@ protected void internalGetBacklogSizeByMessageId(AsyncResponse asyncResponse,
}
resumeAsyncResponseExceptionally(asyncResponse, ex);
return null;
}));
});
}

protected CompletableFuture<Void> internalSetBacklogQuota(BacklogQuota.BacklogQuotaType backlogQuotaType,
Expand Down

0 comments on commit 29d3798

Please sign in to comment.