chore(mongodb): update client

This commit is contained in:
Ilya Averyanov 2021-12-30 13:57:48 +03:00
parent 7208669946
commit c98e0efdad
2 changed files with 1 additions and 4 deletions

View File

@ -8,7 +8,7 @@
{mysql, {git, "https://github.com/emqx/mysql-otp", {tag, "1.7.1"}}},
{epgsql, {git, "https://github.com/emqx/epgsql", {tag, "4.6.0"}}},
%% NOTE: mind poolboy version when updating mongodb-erlang version
{mongodb, {git,"https://github.com/emqx/mongodb-erlang", {tag, "v3.0.10"}}},
{mongodb, {git,"https://github.com/emqx/mongodb-erlang", {tag, "v3.0.11"}}},
%% NOTE: mind poolboy version when updating eredis_cluster version
{eredis_cluster, {git, "https://github.com/emqx/eredis_cluster", {tag, "0.6.7"}}},
%% mongodb-erlang uses a special fork https://github.com/comtihon/poolboy.git

View File

@ -178,9 +178,6 @@ health_check(PoolName) ->
%% ===================================================================
%% mongo_api:find_one/4 typing is invalid
-dialyzer({nowarn_function, [check_worker_health/1]}).
check_worker_health(Worker) ->
case ecpool_worker:client(Worker) of
{ok, Conn} ->