couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [2/8] ddoc-cache commit: updated refs/heads/windsor-merge to 64bab93
Date Fri, 01 Aug 2014 09:09:27 GMT
Fix name of event listener callback


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

Branch: refs/heads/windsor-merge
Commit: 62198081464835bb1c88bbea9ac7e5c2e69aa042
Parents: 41d8253
Author: Adam Kocoloski <adam@cloudant.com>
Authored: Fri May 24 14:32:04 2013 -0400
Committer: Robert Newson <rnewson@apache.org>
Committed: Tue Jul 29 11:27:05 2014 +0100

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


http://git-wip-us.apache.org/repos/asf/couchdb-ddoc-cache/blob/62198081/src/ddoc_cache_opener.erl
----------------------------------------------------------------------
diff --git a/src/ddoc_cache_opener.erl b/src/ddoc_cache_opener.erl
index c0a85b4..56bfa7d 100644
--- a/src/ddoc_cache_opener.erl
+++ b/src/ddoc_cache_opener.erl
@@ -129,7 +129,7 @@ handle_cast(Msg, St) ->
 
 handle_info({'EXIT', Pid, Reason}, #st{evictor=Pid}=St) ->
     couch_log:error("ddoc_cache_opener evictor died ~w", [Reason]),
-    {ok, Evictor} = couch_event:link_listener(?MODULE, evictor, nil, [all_dbs]),
+    {ok, Evictor} = couch_event:link_listener(?MODULE, handle_db_event, nil, [all_dbs]),
     {noreply, St#st{evictor=Evictor}};
 
 handle_info({'EXIT', _Pid, {open_ok, Key, Resp}}, St) ->


Mime
View raw message