mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-01-29 00:44:31 -06:00
support rate as a cyclerate synonym
This commit is contained in:
parent
a7a7ac254c
commit
fd2da9972b
@ -236,7 +236,7 @@ public class SimpleActivity implements Activity {
|
||||
.map(RateSpec::new)
|
||||
.ifPresent(spec -> strideLimiter = RateLimiters.createOrUpdate(this.getActivityDef(), "strides", strideLimiter, spec));
|
||||
|
||||
activityDef.getParams().getOptionalNamedParameter("cyclerate", "targetrate")
|
||||
activityDef.getParams().getOptionalNamedParameter("cyclerate", "targetrate","rate")
|
||||
.map(RateSpec::new).ifPresent(
|
||||
spec -> cycleLimiter = RateLimiters.createOrUpdate(this.getActivityDef(), "cycles", cycleLimiter, spec));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user