kohlmu-pivotal commented on code in PR #7424:
URL: https://github.com/apache/geode/pull/7424#discussion_r858234434
##########
geode-wan/src/main/java/org/apache/geode/cache/wan/internal/WanCopyRegionFunctionService.java:
##########
@@ -43,7 +45,9 @@
public boolean init(Cache cache) {
String WAN_COPY_REGION_FUNCTION_EXECUTION_PROCESSOR_THREAD_PREFIX =
"WAN Copy Region Function Execution Processor";
- int WAN_COPY_REGION_FUNCTION_MAX_CONCURRENT_THREADS = 10;
+ int WAN_COPY_REGION_FUNCTION_MAX_CONCURRENT_THREADS = SystemProperty
+ .getProductIntegerProperty(
+
SystemPropertyHelper.WAN_COPY_REGION_FUNCTION_MAX_CONCURRENT_THREADS, 10);
Review Comment:
@albertogpz Max threads makes sure that we don't overwhelm a system. As this
command can be run at any time (there is no notion of a maintenance mode for
Geode) we have to assume that there would be a runtime system impact as we
increase the number of threads running a region-copy.
--
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]