Skip to main content

FanoutCache.maintenance_stats()

How background maintenance has gone on this cache in this process (see

Usage

Source

FanoutCache.maintenance_stats()

maintenance_interval): its interval in seconds (0 when off here, or closed), the turns that ran, the entries they removed, failures, and the last failure’s message. A failure is also logged once per streak, as a WARNING on the diskcache_oxide logger, by the next single-key call on the cache (get, set, incr and the like); a cache nobody calls shows it here only. A thread that couldn’t be started counts as failures too. On a FanoutCache, every shard’s counts summed, the largest interval, and the first shard’s last error.