Skip to content

Commit

Permalink
Disable memory CB for testing
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Gaievski <[email protected]>
  • Loading branch information
martin-gaievski committed Apr 29, 2024
1 parent b591c2c commit dca0caa
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,9 @@ public CircuitBreaker getBreaker(BreakerName name) {
*/
public MLCircuitBreakerService init(Path path) {
// Register memory circuit breaker
registerBreaker(BreakerName.MEMORY, new MemoryCircuitBreaker(this.settings, this.clusterService, this.jvmService));
log.info("Registered ML memory breaker.");
//registerBreaker(BreakerName.MEMORY, new MemoryCircuitBreaker(this.settings, this.clusterService, this.jvmService));
//log.info("Registered ML memory breaker.");
log.info("Skipping ML memory breaker for testing.");
registerBreaker(BreakerName.DISK, new DiskCircuitBreaker(path.toString()));
log.info("Registered ML disk breaker.");
// Register native memory circuit breaker, disabling due to unstability.
Expand Down

0 comments on commit dca0caa

Please sign in to comment.