couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [34/34] couch commit: updated refs/heads/windsor-merge-209 to f2368da
Date Tue, 05 Aug 2014 16:47:34 GMT
fix code_change in couch_proc_manager


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

Branch: refs/heads/windsor-merge-209
Commit: f2368da9421531a70b1114a2497ee06c97be2d0f
Parents: 8e09de2
Author: Robert Newson <robert.newson@cloudant.com>
Authored: Thu Sep 5 11:45:22 2013 +0100
Committer: Robert Newson <rnewson@apache.org>
Committed: Tue Aug 5 17:42:57 2014 +0100

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


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/f2368da9/src/couch_proc_manager.erl
----------------------------------------------------------------------
diff --git a/src/couch_proc_manager.erl b/src/couch_proc_manager.erl
index 6a64fa7..2744c88 100644
--- a/src/couch_proc_manager.erl
+++ b/src/couch_proc_manager.erl
@@ -231,6 +231,8 @@ terminate(_Reason, #state{tab=Tab}) ->
     ets:foldl(fun(#proc_int{pid=P}, _) -> couch_util:shutdown_sync(P) end, 0, Tab),
     ok.
 
+code_change(_OldVsn, #state{}=State, _Extra) ->
+    {ok, State};
 code_change(_OldVsn, {state, Tab}, _Extra) ->
     State = #state{tab = Tab, threshold_ts = {0,0,0}},
     ProcInts = lists:map(fun import_proc/1, ets:tab2list(Tab)),


Mime
View raw message