Skip to content

Commit d347861

Browse files
committed
Handle interval workers_rampup
1 parent 0206555 commit d347861

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/basho_bench_duration.erl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,8 @@ add_worker() ->
213213
case basho_bench_config:get(workers_rampup, undefined) of
214214
undefined ->
215215
basho_bench_worker_sup:add_worker();
216+
Interval when is_integer(Interval) ->
217+
basho_bench_worker_sup:add_worker();
216218
[_|_] = Workers ->
217219
WorkerTypes = [WT || {WT, _C} <- Workers],
218220
basho_bench_worker_sup:add_workers(WorkerTypes)

0 commit comments

Comments
 (0)