couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [11/50] ibrowse commit: updated refs/heads/upstream to b28542d
Date Mon, 22 Aug 2016 11:19:37 GMT
Fixed extraction of Pid for iteration with new key

Missed in original work.


Project: http://git-wip-us.apache.org/repos/asf/couchdb-ibrowse/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-ibrowse/commit/37fce828
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-ibrowse/tree/37fce828
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-ibrowse/diff/37fce828

Branch: refs/heads/upstream
Commit: 37fce828469d3a0ca6aae95b7a8b30deb9187d4d
Parents: 1a680f0
Author: benjamin.lee <benjamin.lee@asynchrony.com>
Authored: Thu Dec 11 21:35:12 2014 +0000
Committer: benjamin.lee <benjamin.lee@asynchrony.com>
Committed: Thu Dec 11 21:35:12 2014 +0000

----------------------------------------------------------------------
 src/ibrowse_lb.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-ibrowse/blob/37fce828/src/ibrowse_lb.erl
----------------------------------------------------------------------
diff --git a/src/ibrowse_lb.erl b/src/ibrowse_lb.erl
index 656c3f9..794ba45 100644
--- a/src/ibrowse_lb.erl
+++ b/src/ibrowse_lb.erl
@@ -282,5 +282,5 @@ decremented({Size, _Timestamp, Pid}) ->
     {Size - 1, os:timestamp(), Pid}.
 
 for_each_connection_pid(Tid, Fun) ->
-    catch ets:foldl(fun({Pid, _}, _) -> Fun(Pid) end, undefined, Tid),
+    ets:foldl(fun({{_, _, Pid}, _}, _) -> Fun(Pid) end, undefined, Tid),
     ok.


Mime
View raw message