From e986bab58e6292805e56138440109774d392b5ad Mon Sep 17 00:00:00 2001 From: siddharth ravikumar Date: Sat, 26 Nov 2022 08:24:16 -0500 Subject: feed: update `Feed.Process` Fix handling that processes last `Feed.Last` entries. --- feed/feed.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'feed') diff --git a/feed/feed.go b/feed/feed.go index 31cb142..ac48df9 100644 --- a/feed/feed.go +++ b/feed/feed.go @@ -155,7 +155,7 @@ func (feed *Feed) Process(pState *state.ProcessState) { traversed += 1 // Process only `feed.Last` entries. - if traversed >= feed.Last-1 { + if traversed >= feed.Last { break } } -- cgit v1.2.3