ammachado commented on code in PR #28823:
URL: https://github.com/apache/camel/pull/28823#discussion_r4439316815


##########
core/camel-util/src/main/java/org/apache/camel/util/concurrent/BoundedExecutorService.java:
##########
@@ -159,7 +205,8 @@ public int getWaitingCount() {
     }
 
     /**
-     * The number of times the timeout expired and a task fell back to running 
on the caller's thread.
+     * The number of times a task ran on the caller's thread, because the 
timeout expired or a task of this executor
+     * submitted it and no permit was available.

Review Comment:
   Fixed in 77d76a7dd6de: the Javadoc of `getCallerRunsCount` now says the 
inline depth limit must not have been reached, as work past it goes to the 
delegate and is not counted here.
   
   _Claude Code on behalf of Adriano Machado (@ammachado)_
   
   _This was generated by an AI agent and may contain inaccuracies. Please 
verify before relying on it._



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to