Add a TTL to ChainedFastBackend to prevent long running requests from using data that is too stale

Created on 25 August 2014, almost 11 years ago
Updated 11 July 2023, about 2 years ago

This was initially added by beejeebus in #2248767-53: Use fast, local cache back-end (APCu, if available) for low-write caches (bootstrap, discovery, and config) β†’ and approved by catch in #2248767-62: Use fast, local cache back-end (APCu, if available) for low-write caches (bootstrap, discovery, and config) β†’ , but I'm splitting it into a separate issue, because an arbitrary TTL can introduce random test failures based on how fast testbot happens to be (see #2248767-112: Use fast, local cache back-end (APCu, if available) for low-write caches (bootstrap, discovery, and config) β†’ ).

Do we want a TTL, or would we prefer long running processes to call reset() at the points that they control? AFAIK, HEAD doesn't have a TTL for any other static cache, but that shouldn't rule out us adding it here if we think it makes sense.

πŸ“Œ Task
Status

Closed: outdated

Version

9.5

Component
CacheΒ  β†’

Last updated 12 days ago

Created by

πŸ‡ΊπŸ‡ΈUnited States effulgentsia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024