From a560fc76d3bdf079382f5465b2829b18ec3d0de4 Mon Sep 17 00:00:00 2001 From: Sulthan Zaki Date: Sat, 22 Aug 2026 23:46:19 +0700 Subject: [PATCH] Update stale Cutoff comments: the failing pair reads it too (#166) --- backend/internal/store/admin.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/backend/internal/store/admin.go b/backend/internal/store/admin.go index 059216b..bbd0819 100644 --- a/backend/internal/store/admin.go +++ b/backend/internal/store/admin.go @@ -30,13 +30,14 @@ const ( // SeriesFilter is one named filter predicate over the whole library. Site // and Kind narrow the row read; Name picks the predicate; Cutoff is the -// staleness boundary the "stale" filter compares against, supplied by the -// caller's clock — the store has no clock; Page is 1-based. +// staleness boundary the age-based filters — "stale" and the failing pair — +// compare against, supplied by the caller's clock — the store has no clock; +// Page is 1-based. type SeriesFilter struct { Site string // "" = every Site Kind string // "" = both library buckets' series Name string // one of the SeriesFilter* constants; "" = SeriesFilterAll - Cutoff int64 // unix ms; "stale" reads it, the store never does + Cutoff int64 // unix ms; the age-based filters read it, the store never does Page int // 1-based page of the row read; default 1 }