aboutsummaryrefslogtreecommitdiff
path: root/internal/feed/cache.go
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.eu>2020-05-01 21:39:37 +0200
committerRené 'Necoro' Neumann <necoro@necoro.eu>2020-05-01 21:39:37 +0200
commit04a4897b69f9a10bdea27fb1133bcab71c40b687 (patch)
treedbe438199c33439d7731f9fc9e5d565ce0b6418b /internal/feed/cache.go
parent9990266256b8859b3d500ff0fc0fcee6e1e64193 (diff)
downloadfeed2imap-go-04a4897b69f9a10bdea27fb1133bcab71c40b687.tar.gz
feed2imap-go-04a4897b69f9a10bdea27fb1133bcab71c40b687.tar.bz2
feed2imap-go-04a4897b69f9a10bdea27fb1133bcab71c40b687.zip
Config option 'max-failures'
Diffstat (limited to 'internal/feed/cache.go')
-rw-r--r--internal/feed/cache.go2
1 files changed, 1 insertions, 1 deletions
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()