anchor.diff:      ToExpire2 = maps:fold(fun
           (K, {_, #{expiry := Expiry, disc_driver := undefined}}, Acc)
               when Expiry > 0 ->
  +            % Save expiry in us (to compare with timer:now_diff fun result)
               maps:put(K, {Timestamp, Expiry * 1000000}, Acc);
           (_, _, Acc) ->
               Acc
  
positive.code:                     {maps:put(K, {Timestamp, Expiry}, Acc),
                          max(MaxTime, Expiry - Diff)}
              end
          end, {#{}, 0}, ToExpire),
  
      Max = application:get_env(?CLUSTER_WORKER_APP_NAME, max_key_tp_mem, 100),
      Exclude = maps:keys(CachedKeys) ++ maps:keys(KiF) ++ maps:keys(ToExpire2),
  
negative.code:                 KeyTime = maps:get(K, KeysTimes, {0,0,0}),
                  timer:now_diff(Now, KeyTime) > MaxTimeUS
              end, ToInactivate2),
  
              ExcludeMap2 = maps:without(maps:keys(ToInactivate3), ToInactivate2),
              ExpireMaxTime2 = case maps:size(ExcludeMap2) of
                  0 -> ExpireMaxTime;
                  _ -> max(ExpireMaxTime, MaxTimeUS)
              end,
  
              datastore_cache:inactivate(ToInactivate3),
              NewToInactivate = maps:merge(ExcludeMap, ExcludeMap2),
              NewToInactivateKeys = maps:keys(NewToInactivate),
  