aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to 'internal')
-rw-r--r--internal/feed/cache/state.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/feed/cache/state.go b/internal/feed/cache/state.go
index 1c911d7..3a40878 100644
--- a/internal/feed/cache/state.go
+++ b/internal/feed/cache/state.go
@@ -23,7 +23,7 @@ func (state *State) Foreach(f func(CachedFeed)) {
func (state *State) ForeachGo(goFunc func(CachedFeed)) {
var wg sync.WaitGroup
- wg.Add(len(state.feeds))
+ wg.Add(len(state.cachedFeeds))
f := func(feed CachedFeed, wg *sync.WaitGroup) {
goFunc(feed)