From 7f0dcbe646d2fd819fc08ffc8d417fad430f3425 Mon Sep 17 00:00:00 2001 From: zmstone Date: Sun, 25 Aug 2024 20:59:58 +0200 Subject: [PATCH] fix: get_value -> get_bool --- src/emqtt_bench.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emqtt_bench.erl b/src/emqtt_bench.erl index 864114e..ebbca80 100644 --- a/src/emqtt_bench.erl +++ b/src/emqtt_bench.erl @@ -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),