From 04a4897b69f9a10bdea27fb1133bcab71c40b687 Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Fri, 1 May 2020 21:39:37 +0200 Subject: Config option 'max-failures' --- internal/feed/cache.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/feed/cache.go') diff --git a/internal/feed/cache.go b/internal/feed/cache.go index 0b2f905..f1dfb77 100644 --- a/internal/feed/cache.go +++ b/internal/feed/cache.go @@ -25,7 +25,7 @@ type Cache interface { type CachedFeed interface { Checked(withFailure bool) - Failures() uint + Failures() int Last() time.Time filterItems(items []feeditem, ignoreHash bool, alwaysNew bool) []feeditem Commit() -- cgit v1.2.3-54-g00ecf