diff options
author | siddharth ravikumar <s@ricketyspace.net> | 2022-11-26 08:24:16 -0500 |
---|---|---|
committer | siddharth ravikumar <s@ricketyspace.net> | 2022-11-26 08:24:16 -0500 |
commit | e986bab58e6292805e56138440109774d392b5ad (patch) | |
tree | 2c1abd7fd672fa46dd79200ef86844c50ebfa975 /feed | |
parent | 98393b87f2772109b35c08544ac545a281118d14 (diff) |
feed: update `Feed.Process`
Fix handling that processes last `Feed.Last` entries.
Diffstat (limited to 'feed')
-rw-r--r-- | feed/feed.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 } } |