You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gobblin.apache.org by "pratapaditya04 (via GitHub)" <gi...@apache.org> on 2024/08/16 05:27:13 UTC
Re: [PR] [GOBBLIN-2131] process all dag actions during startup parallely [gobblin]
pratapaditya04 commented on code in PR #4024:
URL: https://github.com/apache/gobblin/pull/4024#discussion_r1719331609
##########
gobblin-service/src/main/java/org/apache/gobblin/service/monitoring/DagActionStoreChangeMonitor.java:
##########
@@ -146,15 +148,26 @@ protected void initializeMonitor() {
throw new RuntimeException(String.format("Unable to retrieve dagActions from the dagActionStore while "
+ "initializing the %s", DagActionStoreChangeMonitor.class.getCanonicalName()), e);
}
- // TODO: make this multi-threaded to add parallelism
+ final ExecutorService executorService = Executors.newFixedThreadPool(ConfigUtils.getInt(this.config,ConfigurationKeys.DAG_ACTION_STORE_MONITOR_EXECUTOR_THREADS,1));
Review Comment:
addressed
--
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: dev-unsubscribe@gobblin.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org