incrementInternal() accepts the documented $expiry argument but never uses it — MemcacheIncrementRequest has no expiration field — so any item created through the initial_value path is stored without an expiration and lives until evicted. Callers using increment() for rate limiting or short-lived counters accumulate immortal keys, and patterns that rely on expiry to self-heal (e.g. a worker counter that must reset after a crash) never recover.
incrementInternal()accepts the documented$expiryargument but never uses it —MemcacheIncrementRequesthas no expiration field — so any item created through theinitial_valuepath is stored without an expiration and lives until evicted. Callers usingincrement()for rate limiting or short-lived counters accumulate immortal keys, and patterns that rely on expiry to self-heal (e.g. a worker counter that must reset after a crash) never recover.