From dbcc258f12bc661c5dcdf2a43f822f207f9fd685 Mon Sep 17 00:00:00 2001 From: zmstone Date: Mon, 18 Nov 2024 22:33:49 +0100 Subject: [PATCH] fix: upgrade to emqtt 1.13.4 emqtt 1.13.4 has reconnect fixed now bench clients should experience less shutdowns when testing with higher connection rate than the target broker allows. --- Makefile | 6 ++++++ rebar.config | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 67f3f9e..1e613eb 100644 --- a/Makefile +++ b/Makefile @@ -3,10 +3,16 @@ REBAR ?= $(CURDIR)/rebar3 .PHONY: all all: release +.PHONY: release release: compile $(REBAR) as emqtt_bench tar @$(CURDIR)/scripts/rename-package.sh +.PHONY: pre-release +pre-release: compile + $(REBAR) as emqtt_bench release + +.PHONY: compile compile: $(REBAR) $(REBAR) compile diff --git a/rebar.config b/rebar.config index c2b9f0b..18dc912 100644 --- a/rebar.config +++ b/rebar.config @@ -16,7 +16,7 @@ {deps, [ {getopt, {git, "https://github.com/zmstone/getopt", {tag, "v1.0.2.1"}}}, - {emqtt, {git, "https://github.com/emqx/emqtt", {tag, "1.13.2"}}}, + {emqtt, {git, "https://github.com/emqx/emqtt", {tag, "1.13.4"}}}, {prometheus, {git, "https://github.com/emqx/prometheus.erl", {tag, "v4.10.0.2"}}}, {cowboy, "2.9.0"}, {jsx, "3.1.0"}