Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use tagged tuple {functio, M, F} for storing fun stats in folsom

So that hot code loading doesn't casue errors calculating stats
  • Loading branch information...
commit 1d51e368fd4cec29d3a99cb0f89d23b63c8ef320 1 parent 4ea61ce
Russell Brown russelldb authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/riak_kv_stat.erl
2  src/riak_kv_stat.erl
View
@@ -254,7 +254,7 @@ stats() ->
{precommit_fail, counter},
{postcommit_fail, counter},
{[vnode, backend, leveldb, read_block_error],
- {function, fun riak_kv_stat:leveldb_read_block_errors/0}}].
+ {function, {function, ?MODULE, leveldb_read_block_errors}}}].
%% @doc register a stat with folsom
register_stat(Name, spiral) ->
Please sign in to comment.
Something went wrong with that request. Please try again.