smiklosovic commented on code in PR #2046:
URL: https://github.com/apache/cassandra/pull/2046#discussion_r1053539157


##########
src/java/org/apache/cassandra/streaming/async/StreamingMultiplexedChannel.java:
##########
@@ -90,8 +88,8 @@
 {
     private static final Logger logger = 
LoggerFactory.getLogger(StreamingMultiplexedChannel.class);
 
-    private static final int DEFAULT_MAX_PARALLEL_TRANSFERS = 
getAvailableProcessors();
-    private static final int MAX_PARALLEL_TRANSFERS = 
parseInt(getProperty(PROPERTY_PREFIX + "streaming.session.parallelTransfers", 
Integer.toString(DEFAULT_MAX_PARALLEL_TRANSFERS)));
+    public static final int DEFAULT_MAX_PARALLEL_TRANSFERS = 
getAvailableProcessors();

Review Comment:
   why does this have to be `public`?



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to