Skip to content

Commit

Permalink
Made AsyncAppenderBase.isQueueBelowDiscardingThreshold public to fa…
Browse files Browse the repository at this point in the history
…cilitate reporting loss of log events in a health check. (#325)

Co-authored-by: Erik van Oosten <evanoosten@ebay.com>
  • Loading branch information
erikvanoosten and Erik van Oosten committed Aug 14, 2024
1 parent 85bed93 commit 94b67db
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ protected void append(E eventObject) {
put(eventObject);
}

private boolean isQueueBelowDiscardingThreshold() {
public boolean isQueueBelowDiscardingThreshold() {
return (blockingQueue.remainingCapacity() < discardingThreshold);
}

Expand Down

0 comments on commit 94b67db

Please sign in to comment.