mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-12-06 00:05:30 +00:00
Resolve conflicts with #8729, which caches the configured account pool and checks time-based blocks (rate limit, overload, temp-unschedulable) on every read: - readSnapshotAccounts filters by IsSchedulable on both the GetSnapshotValues path (in-place compaction of the caller-owned slice) and the GetSnapshot path. - The coalesced DB fallback still publishes the full configured pool. Each caller's private copy contains only accounts that are schedulable now. - The fallback test stubs now implement ListModelAvailabilityCandidates, which #8729 switched the DB fallback to. Values-reader fixtures are marked schedulable. Adds tests for time-blocked filtering on both paths and for publishing the full pool.