diff --git a/server/src/main/java/org/opensearch/search/sandboxing/module/SandboxModule.java b/server/src/main/java/org/opensearch/search/sandboxing/module/SandboxModule.java index 8da5f20ab022f..3f7c8a11099c1 100644 --- a/server/src/main/java/org/opensearch/search/sandboxing/module/SandboxModule.java +++ b/server/src/main/java/org/opensearch/search/sandboxing/module/SandboxModule.java @@ -9,8 +9,8 @@ package org.opensearch.search.sandboxing.module; import org.opensearch.common.inject.AbstractModule; -import org.opensearch.search.sandboxing.tracker.SandboxUsageTracker; import org.opensearch.search.sandboxing.tracker.SandboxResourceUsageTrackerService; +import org.opensearch.search.sandboxing.tracker.SandboxUsageTracker; /** * Module class for resource usage limiting related artifacts @@ -25,5 +25,7 @@ public SandboxModule() {} @Override protected void configure() { bind(SandboxUsageTracker.class).to(SandboxResourceUsageTrackerService.class).asEagerSingleton(); + // bind(AbstractTaskCancellation.class).to(SandboxResourceUsageTrackerService.class).asEagerSingleton(); + // bind(SandboxPruner.class).to(SandboxResourceUsageTrackerService.class).asEagerSingleton(); } }