Skip to content

Commit

Permalink
Merge pull request #258 from emqx/fix-get-options
Browse files Browse the repository at this point in the history
fix: get_value -> get_bool
  • Loading branch information
zmstone authored Aug 26, 2024
2 parents 2a4752a + 7f0dcbe commit 0c7ef58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/emqtt_bench.erl
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ start(PubSub, Opts) ->
[NoWorkers, NoAddrs, Interval]),
true = (Interval >= 1),
PublishSignalPid =
case proplists:get_value(wait_before_publishing, Opts) of
case proplists:get_bool(wait_before_publishing, Opts) of
true ->
spawn(fun() ->
collect_go_signals(NoWorkers),
Expand Down

0 comments on commit 0c7ef58

Please sign in to comment.