couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iil...@apache.org
Subject [4/5] couch commit: updated refs/heads/master to 5f9cf9f
Date Wed, 25 May 2016 17:39:37 GMT
couch_proc_manager:remove_proc expects #proc_int{} record


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

Branch: refs/heads/master
Commit: aa2460957da99ce3b80000c9173d391b2672ac3f
Parents: 4214c4f
Author: ILYA Khlopotov <iilyak@ca.ibm.com>
Authored: Tue May 24 17:35:40 2016 -0700
Committer: ILYA Khlopotov <iilyak@ca.ibm.com>
Committed: Wed May 25 10:24:53 2016 -0700

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


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/aa246095/src/couch_proc_manager.erl
----------------------------------------------------------------------
diff --git a/src/couch_proc_manager.erl b/src/couch_proc_manager.erl
index b3ca69a..a6c9746 100644
--- a/src/couch_proc_manager.erl
+++ b/src/couch_proc_manager.erl
@@ -443,7 +443,7 @@ return_proc(#state{} = State, #proc_int{} = ProcInt) ->
     NewState = case is_process_alive(Pid) of true ->
         case ProcInt#proc_int.t0 < State#state.threshold_ts of
             true ->
-                remove_proc(State, Pid);
+                remove_proc(State, ProcInt);
             false ->
                 gen_server:cast(Pid, garbage_collect),
                 true = ets:update_element(?PROCS, Pid, [


Mime
View raw message