From 1320cc31221247ce8b045dff08a4722ca7aade2a Mon Sep 17 00:00:00 2001 From: JianBo He Date: Mon, 11 Apr 2022 18:36:32 +0800 Subject: [PATCH 1/2] chore: update ehttpc to 0.2.0 In ehttpc v0.2.0, we have optimized the implementation for request collection to reduce resource consumption. see: emqx/ehttpc#31 --- mix.exs | 2 +- rebar.config | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mix.exs b/mix.exs index 2406a4156..e6d290d0f 100644 --- a/mix.exs +++ b/mix.exs @@ -49,7 +49,7 @@ defmodule EMQXUmbrella.MixProject do {:lc, github: "emqx/lc", tag: "0.2.1"}, {:redbug, "2.0.7"}, {:typerefl, github: "ieQu1/typerefl", tag: "0.9.1", override: true}, - {:ehttpc, github: "emqx/ehttpc", tag: "0.1.12"}, + {:ehttpc, github: "emqx/ehttpc", tag: "0.2.0"}, {:gproc, github: "uwiger/gproc", tag: "0.8.0", override: true}, {:jiffy, github: "emqx/jiffy", tag: "1.0.5", override: true}, {:cowboy, github: "emqx/cowboy", tag: "2.9.0", override: true}, diff --git a/rebar.config b/rebar.config index 9bdd5d278..5fa6c4475 100644 --- a/rebar.config +++ b/rebar.config @@ -48,7 +48,7 @@ , {redbug, "2.0.7"} , {gpb, "4.11.2"} %% gpb only used to build, but not for release, pin it here to avoid fetching a wrong version due to rebar plugins scattered in all the deps , {typerefl, {git, "https://github.com/ieQu1/typerefl", {tag, "0.9.1"}}} - , {ehttpc, {git, "https://github.com/emqx/ehttpc", {tag, "0.1.12"}}} + , {ehttpc, {git, "https://github.com/emqx/ehttpc", {tag, "0.2.0"}}} , {gproc, {git, "https://github.com/uwiger/gproc", {tag, "0.8.0"}}} , {jiffy, {git, "https://github.com/emqx/jiffy", {tag, "1.0.5"}}} , {cowboy, {git, "https://github.com/emqx/cowboy", {tag, "2.9.0"}}} From 481fbe856b217f26b4707089d071cc6054be048f Mon Sep 17 00:00:00 2001 From: JianBo He Date: Thu, 14 Apr 2022 18:11:57 +0800 Subject: [PATCH 2/2] chore: pin gun to 1.3.7 --- mix.exs | 2 +- rebar.config | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/mix.exs b/mix.exs index e6d290d0f..6a38ed836 100644 --- a/mix.exs +++ b/mix.exs @@ -73,7 +73,7 @@ defmodule EMQXUmbrella.MixProject do {:esasl, github: "emqx/esasl", tag: "0.2.0"}, {:jose, github: "potatosalad/erlang-jose", tag: "1.11.2"}, # in conflict by ehttpc and emqtt - {:gun, github: "emqx/gun", tag: "1.3.6", override: true}, + {:gun, github: "emqx/gun", tag: "1.3.7", override: true}, # in conflict by emqx_connectior and system_monitor {:epgsql, github: "emqx/epgsql", tag: "4.7-emqx.2", override: true}, # in conflict by mongodb and eredis_cluster diff --git a/rebar.config b/rebar.config index 5fa6c4475..9e52047ac 100644 --- a/rebar.config +++ b/rebar.config @@ -48,6 +48,7 @@ , {redbug, "2.0.7"} , {gpb, "4.11.2"} %% gpb only used to build, but not for release, pin it here to avoid fetching a wrong version due to rebar plugins scattered in all the deps , {typerefl, {git, "https://github.com/ieQu1/typerefl", {tag, "0.9.1"}}} + , {gun, {git, "https://github.com/emqx/gun", {tag, "1.3.7"}}} , {ehttpc, {git, "https://github.com/emqx/ehttpc", {tag, "0.2.0"}}} , {gproc, {git, "https://github.com/uwiger/gproc", {tag, "0.8.0"}}} , {jiffy, {git, "https://github.com/emqx/jiffy", {tag, "1.0.5"}}}