Skip to main content

evict_hard_expired_github_read_cache_entries

Function evict_hard_expired_github_read_cache_entries 

Source
pub fn evict_hard_expired_github_read_cache_entries(
    conn: &Connection,
    hard_ttl_cutoff_ms: i64,
) -> Result<usize>
Expand description

Delete rows whose source-fetch time has reached the hard-TTL cutoff.

A timestamp equal to hard_ttl_cutoff_ms is expired, matching the normal age >= hard_ttl boundary used by cache callers.