• antirez's avatar
    Client side caching: call the invalidation functions always. · 842b44dc
    antirez authored
    Otherwise what happens is that the tracking table will never get garbage
    collected if there are no longer clients with tracking enabled.
    Now the invalidation function immediately checks if there is any table
    allocated, otherwise it returns ASAP, so the overhead when the feature
    is not used should be near zero.
    842b44dc
expire.c 20.7 KB