Skip to content

Commit

Permalink
[CDAP-21096] Skip launching of task workers and system worker from Ap…
Browse files Browse the repository at this point in the history
…pfabric service
  • Loading branch information
vsethi09 committed Jan 31, 2025
1 parent ac94686 commit 2acce43
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,14 +160,6 @@ protected void addServices(Injector injector, List<? super Service> services,
() -> injector.getInstance(NamespaceInitializerService.class),
RetryStrategies.exponentialDelay(200, 5000, TimeUnit.MILLISECONDS)));

if (cConf.getBoolean(Constants.TaskWorker.POOL_ENABLE)) {
services.add(injector.getInstance(TaskWorkerServiceLauncher.class));
}

if (cConf.getBoolean(SystemWorker.POOL_ENABLE)) {
services.add(injector.getInstance(SystemWorkerServiceLauncher.class));
}

// Event publisher could rely on task workers for token generated for security enabled deployments
services.add(injector.getInstance(EventPublishManager.class));

Expand Down

0 comments on commit 2acce43

Please sign in to comment.