Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Remove references to margaret
  • Loading branch information
rnewson authored and davisp committed Jan 17, 2014
1 parent 50eb5c0 commit eef6b84eaa3c6187e664d7121dfdf09285bee6a2
Showing 1 changed file with 0 additions and 3 deletions.
@@ -131,14 +131,11 @@ handle_call(_Call, _From, St) ->
{noreply, St}.

handle_cast({cache_hit, DbName}, St) ->
margaret_counter:increment([dbcore, mem3, shard_cache, hit]),
cache_hit(DbName),
{noreply, St};
handle_cast({cache_insert, DbName, Shards}, St) ->
margaret_counter:increment([dbcore, mem3, shard_cache, miss]),
{noreply, cache_free(cache_insert(St, DbName, Shards))};
handle_cast({cache_remove, DbName}, St) ->
margaret_counter:increment([dbcore, mem3, shard_cache, eviction]),
{noreply, cache_remove(St, DbName)};
handle_cast(_Msg, St) ->
{noreply, St}.

0 comments on commit eef6b84

Please sign in to comment.