From 292e4f0a72c85a1f8567aa41a67e78e87aacedb7 Mon Sep 17 00:00:00 2001 From: benoitc Date: Mon, 1 Dec 2014 14:31:43 +0100 Subject: [PATCH] fix typo --- src/hackney_connect/hackney_pool.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hackney_connect/hackney_pool.erl b/src/hackney_connect/hackney_pool.erl index cbed055a..e4cd4d52 100644 --- a/src/hackney_connect/hackney_pool.erl +++ b/src/hackney_connect/hackney_pool.erl @@ -313,7 +313,7 @@ handle_info({'DOWN', Ref, request, _Pid, _Reason}, State) -> {noreply, State#state{clients = Clients2}}; {ok, {From, Ref2}, Queues2} -> NbWaiters = State#state.nb_waiters - 1, - Mod:update_historgram([hackney_pool, State#state.name, + Mod:update_histogram([hackney_pool, State#state.name, queue_count], NbWaiters), gen_server:reply(From, {error, no_socket, self()}), State2 = State#state{queues = Queues2, clients = Clients2,