close influx connect pool
This commit is contained in:
parent
481982014d
commit
64528e6e57
@ -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} ->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user