albertogpz commented on code in PR #7424:
URL: https://github.com/apache/geode/pull/7424#discussion_r859713664


##########
geode-wan/src/main/java/org/apache/geode/cache/wan/internal/WanCopyRegionFunctionService.java:
##########
@@ -41,11 +44,18 @@ public class WanCopyRegionFunctionService implements 
CacheService {
 
   @Override
   public boolean init(Cache cache) {
+    int maxConcurrentThreads = SystemProperty
+        .getProductIntegerProperty(
+            SystemPropertyHelper.WAN_COPY_REGION_MAX_CONCURRENT_THREADS, 10);
+    return init(maxConcurrentThreads);
+  }
+
+  @VisibleForTesting
+  boolean init(int maxConcurrentThreads) {
     String WAN_COPY_REGION_FUNCTION_EXECUTION_PROCESSOR_THREAD_PREFIX =

Review Comment:
   Changed



-- 
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: notifications-unsubscr...@geode.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to