close influx connect pool

This commit is contained in:
anlicheng 2023-09-01 15:00:26 +08:00
parent 481982014d
commit 64528e6e57

View File

@ -145,7 +145,7 @@ handle_cast({write, Bucket, Org, Precision, Points}, State = #state{host = Host,
}),
lager:debug("[influx_client] url is: ~p, headers: ~p, body: ~ts", [Url, Headers, Body]),
case hackney:request(post, Url, Headers, GZipBody, [{pool, influx_pool}]) of
case hackney:request(post, Url, Headers, GZipBody, [{pool, false}]) of
{ok, StatusCode, _RespHeaders, ClientRef} ->
case hackney:body(ClientRef) of
{ok, RespBody} ->