INNER CODE UNIT · Python

previous_ttl

alisaifee/limits · limits/aio/storage/memcached/__init__.py:187

            previous_ttl = (1 - (((now - expiry) / expiry) % 1)) * expiry
        current_ttl = (1 - ((now / expiry) % 1)) * expiry + expiry

        return previous_count, previous_ttl, current_count, current_ttl

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…