Skip to content

Commit

Permalink
use the params.getIdleSleepMilliSeconds() during SBM init
Browse files Browse the repository at this point in the history
Signed-off-by: Keshava Munegowda <keshava.gowda@gmail.com>
  • Loading branch information
kmgowda committed Aug 24, 2024
1 parent 299ae0b commit 11c4549
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sbm/src/main/java/io/sbm/api/impl/SbmBenchmark.java
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public SbmBenchmark(SbmConfig sbmConfig, RamParameterOptions params,
}

latencyRecorder = createLatencyRecorder();
benchmark = new SbmLatencyBenchmark(sbmConfig.maxQueues, sbmConfig.idleMS, time, latencyRecorder,
benchmark = new SbmLatencyBenchmark(sbmConfig.maxQueues, params.getIdleSleepMilliSeconds(), time, latencyRecorder,
logger.getPrintingIntervalSeconds() * Time.MS_PER_SEC);
service = new SbmGrpcService(params, time, logger.getMinLatency(), logger.getMaxLatency(), logger, benchmark);
server = ServerBuilder.forPort(params.getPort()).addService(service).directExecutor().build();
Expand Down

0 comments on commit 11c4549

Please sign in to comment.