anchor.diff:          _Otherwise -> ok
       end,
   
  -    {noreply, NewState};
  +    {noreply, reset_inactivity(NewState)};
   
   handle_cast(_Msg, State) ->
       {noreply, State}.
  
positive.code: 
  -define(MIN_CACHE_INTERVAL, 60).
  
  -record(state, {path, fspath, metadata, cache=[], cache_size=0}).
  
  %%%===================================================================
  %%% API
  
negative.code:     {noreply, State#state{metadata=Metadata}};
  
  handle_info(flush_cache, State) ->
      State0 = flush(State),
      {noreply, State0};
  
  handle_info(inactivity, State) ->
      Path = State#state.path,
      lager:info("stopping metrics handler for ~p due to inactivity", [Path]),
      {stop, normal, State#state{inactivity=none}};
  
  handle_info(_Info, State) ->
      {noreply, State}.
  