Skip to content

Commit

Permalink
Update SandboxModule.java
Browse files Browse the repository at this point in the history
Signed-off-by: Kiran Prakash <awskiran@amazon.com>
  • Loading branch information
kiranprakash154 committed May 30, 2024
1 parent 57b1a37 commit 5e17561
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -25,5 +25,7 @@ public SandboxModule() {}
@Override
protected void configure() {
bind(SandboxUsageTracker.class).to(SandboxResourceUsageTrackerService.class).asEagerSingleton();

Check warning on line 27 in server/src/main/java/org/opensearch/search/sandboxing/module/SandboxModule.java

View check run for this annotation

Codecov / codecov/patch

server/src/main/java/org/opensearch/search/sandboxing/module/SandboxModule.java#L27

Added line #L27 was not covered by tests
// bind(AbstractTaskCancellation.class).to(SandboxResourceUsageTrackerService.class).asEagerSingleton();
// bind(SandboxPruner.class).to(SandboxResourceUsageTrackerService.class).asEagerSingleton();
}

Check warning on line 30 in server/src/main/java/org/opensearch/search/sandboxing/module/SandboxModule.java

View check run for this annotation

Codecov / codecov/patch

server/src/main/java/org/opensearch/search/sandboxing/module/SandboxModule.java#L30

Added line #L30 was not covered by tests
}

0 comments on commit 5e17561

Please sign in to comment.