couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject [37/50] folsom commit: updated refs/heads/import-master to 4824aec
Date Thu, 31 Jul 2014 21:25:25 GMT
Fix initialization of meter_reader


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

Branch: refs/heads/import-master
Commit: a7f330737fd5921f448255a1c98c7dff7d72f6d5
Parents: bc0b9ef
Author: Sergey Urbanovich <sergey.urbanovich@gmail.com>
Authored: Wed Nov 13 18:23:36 2013 +0400
Committer: Sergey Urbanovich <sergey.urbanovich@gmail.com>
Committed: Wed Nov 13 18:23:36 2013 +0400

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


http://git-wip-us.apache.org/repos/asf/couchdb-folsom/blob/a7f33073/src/folsom_ets.erl
----------------------------------------------------------------------
diff --git a/src/folsom_ets.erl b/src/folsom_ets.erl
index a59f130..888000b 100644
--- a/src/folsom_ets.erl
+++ b/src/folsom_ets.erl
@@ -413,7 +413,7 @@ notify(Name, Value, meter_reader, true) ->
     folsom_metrics_meter_reader:mark(Name, Value),
     ok;
 notify(Name, Value, meter_reader, false) ->
-    add_handler(meter, Name),
+    add_handler(meter_reader, Name),
     folsom_metrics_meter_reader:mark(Name, Value),
     ok;
 notify(Name, Value, duration, true) ->


Mime
View raw message