فهرست منبع

fix(influxdb_bridge): no need to create atom for pool name

Zaiming (Stone) Shi 3 سال پیش
والد
کامیت
30a8a436b4
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      lib-ee/emqx_ee_connector/rebar.config
  2. 1 1
      lib-ee/emqx_ee_connector/src/emqx_ee_connector_influxdb.erl

+ 1 - 1
lib-ee/emqx_ee_connector/rebar.config

@@ -1,7 +1,7 @@
 {erl_opts, [debug_info]}.
 {deps, [
   {hstreamdb_erl, {git, "https://github.com/hstreamdb/hstreamdb_erl.git", {tag, "0.2.5"}}},
-  {influxdb, {git, "https://github.com/emqx/influxdb-client-erl", {tag, "1.1.7"}}},
+  {influxdb, {git, "https://github.com/emqx/influxdb-client-erl", {tag, "1.1.8"}}},
   {emqx, {path, "../../apps/emqx"}}
 ]}.
 

+ 1 - 1
lib-ee/emqx_ee_connector/src/emqx_ee_connector_influxdb.erl

@@ -282,7 +282,7 @@ client_config(
         {host, str(Host)},
         {port, Port},
         {pool_size, erlang:system_info(schedulers)},
-        {pool, binary_to_atom(InstId, utf8)},
+        {pool, InstId},
         {precision, atom_to_binary(maps:get(precision, Config, ms), utf8)}
     ] ++ protocol_config(Config).