nandi/gleanpublic⑂ Fork 0
⑂ 0bac02b
Commits
⬇ Clone ▾
git clone https://git.rickub.com/nandi/glean.git
git clone ssh://git@rickub.com/nandi/glean.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Reduce concurrent feed fetch limit to 10Unverified

Julien Robert committed 2026-04-26T01:39:58+02:00 Browse files
0bac02b parent: 311c22b
modified internal/feed/fetcher.go +1 -1
@@ -161,7 +161,7 @@ func (s *Scheduler) fetchAll(ctx context.Context, olderThan time.Duration) {
161161 s.logger.Info("fetching feeds", "count", len(feeds), "older_than", olderThan)
162162
163163 g, gCtx := errgroup.WithContext(ctx)
164- g.SetLimit(50)
164+ g.SetLimit(10)
165165 for _, f := range feeds {
166166 g.Go(func() error {
167167 s.FetchFeed(gCtx, f)
@@ -161,7 +161,7 @@ func (s *Scheduler) fetchAll(ctx context.Context, olderThan time.Duration) {
161 s.logger.Info("fetching feeds", "count", len(feeds), "older_than", olderThan)161 s.logger.Info("fetching feeds", "count", len(feeds), "older_than", olderThan)
162 162
163 g, gCtx := errgroup.WithContext(ctx)163 g, gCtx := errgroup.WithContext(ctx)
164- g.SetLimit(50)164+ g.SetLimit(10)
165 for _, f := range feeds {165 for _, f := range feeds {
166 g.Go(func() error {166 g.Go(func() error {
167 s.FetchFeed(gCtx, f)167 s.FetchFeed(gCtx, f)