Skip to content

Commit

Permalink
Merge pull request #438 from kmgowda/kmg-sbm-idlems-1
Browse files Browse the repository at this point in the history
use the params.getIdleSleepMilliSeconds() during SBM init

Signed-off-by: Keshava Munegowda <[email protected]>
  • Loading branch information
kmgowda authored Aug 24, 2024
2 parents 299ae0b + 11c4549 commit 3640530
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 3640530

Please sign in to comment.