class Dalli::Protocol::TtlSanitizer

Utility class for sanitizing TTL arguments based on Memcached rules. TTLs are either expirations times in seconds (with a maximum value of 30 days) or expiration timestamps. This class sanitizes TTLs to ensure they meet those restrictions.