allthingssecurity commented on code in PR #28382:
URL: https://github.com/apache/camel/pull/28382#discussion_r4369193878


##########
core/camel-core-processor/src/main/java/org/apache/camel/processor/TotalRequestsThrottler.java:
##########
@@ -161,7 +162,7 @@ public boolean process(final Exchange exchange, final 
AsyncCallback callback) {
 
                 if (state == State.ASYNC) {
                     if (LOG.isTraceEnabled()) {
-                        long queuedTime = System.currentTimeMillis() - 
queuedStart;
+                        long queuedTime = TimeSource.currentTimeMillis() - 
queuedStart;

Review Comment:
   Agreed, it is older than this PR (the TRACE "Queued for" lines subtract a 
`nanoTime()` stamp from `currentTimeMillis()`). This PR keeps the swap 
mechanical; I have a follow-up drafted for it.
   
   _Claude Code on behalf of allthingssecurity_



-- 
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