joerghoh commented on code in PR #5:
URL:
https://github.com/apache/sling-org-apache-sling-commons-threads/pull/5#discussion_r1295898233
##########
src/main/java/org/apache/sling/commons/threads/impl/ThreadPoolExecutorCleaningThreadLocals.java:
##########
@@ -68,8 +69,14 @@ protected void afterExecute(Runnable r, Throwable t) {
if (cleaner != null) {
cleaner.cleanup();
+ this.cleanupCounter++;
Review Comment:
@rombert confirmed, that we should only increase the counter when an actual
cleanup cleanup was performed and a threadlocal removed.
--
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]