jvz commented on code in PR #1964:
URL: https://github.com/apache/logging-log4j2/pull/1964#discussion_r1397673300


##########
log4j-core-its/src/test/java/org/apache/logging/log4j/core/async/perftest/ResponseTimeTest.java:
##########
@@ -141,7 +141,7 @@ public static void main(final String[] args) throws 
Exception {
         runLatencyTest(logger, WARMUP_DURATION_MILLIS, WARMUP_COUNT, 
loadMessagesPerSec, idleStrategy,
                 warmupServiceTmHistograms, warmupResponseTmHistograms, 
threadCount);
         System.out.println("-----------------Warmup done. load=" + 
loadMessagesPerSec);
-        if (!Constants.ENABLE_DIRECT_ENCODERS || 
!Constants.ENABLE_THREADLOCALS) {
+        if (!Constants.ENABLE_DIRECT_ENCODERS || 
!org.apache.logging.log4j.util.Constants.isUseThreadLocals()) {

Review Comment:
   Yes, that was the idea here. In main, that's something we're trying to clean 
up more for the properties enhancement, but it requires a lot of refactoring, 
hence why it's limited to main.



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