anchor.diff:      end.
   
   update_env(State) ->
  -    CT = application:get_env(metric_vnode, cache_points, 120),
  -    State#state{ct = CT}.
  +    CT = application:get_env(metric_vnode, cache_size, 120),
  +    State#state{cache_size = CT}.
   
   
   %% Handling a get request overload
  
positive.code:                     ets:update_element(T, BM, [{3, Idx + Len}]);
                  %% We don't have a cache yet and our data is smaller then
                  %% the current cache limit
                  [] when Len < CT ->
                      Array = k6_bytea:new(CT * ?DATA_SIZE),
                      k6_bytea:set(Array, 0, Value),
                      Jitter = rand:uniform(CT),
                      ets:insert(T, {BM, Time, Len, Time + Jitter, Array});
                  %% If we don't have a cache but our data is too big for the
                  %% cache we happiely write it directly
  
negative.code:         {false, State1} ->
              State1;
          {true, State1} ->
              %% Elemements of the cacgh have the following logic:
              %% 1: Bucket + Metric
              %% 2: The start time (index in the file)
              %% 3: Size of the buffer in elements
              %% 4: pre-computed end (end in the file)
              %% 5: The binary cache
              case ets:lookup(T, BM) of
                  %% If the data is before the first package in the cache we just
                  %% don't cache it this way we prevent overwriting already
  