Skip to content

Commit

Permalink
fix error log
Browse files Browse the repository at this point in the history
  • Loading branch information
CalvinKirs committed Dec 9, 2024
1 parent cffeac8 commit 38b7220
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ public boolean publishEvent(Object... args) {

// Timeout reached without publishing the event
LOG.warn("Failed to publish event within the specified timeout (1 second)."
+ "Queue may be full. size is {}", disruptor.getRingBuffer().remainingCapacity());
+ "Queue may be full. the remaining buffer size is {}",
disruptor.getRingBuffer().remainingCapacity());
} catch (Exception e) {
// Catching general exceptions to handle unexpected errors
LOG.warn("Failed to publish event due to an unexpected error", e);
Expand Down

0 comments on commit 38b7220

Please sign in to comment.