repos / pico

pico services mono repo
git clone https://github.com/picosh/pico.git

commit
12c3f12
parent
630534b
author
Eric Bower
date
2026-03-08 09:29:52 -0400 EDT
chore(feeds): extend retry number to 100

10 is too small since we count every 10 minutes
1 files changed,  +1, -1
M pkg/apps/feeds/cron.go
+1, -1
1@@ -272,7 +272,7 @@ func (f *Fetcher) RunPost(logger *slog.Logger, user *db.User, isPicoPlus bool, p
2 		post.Data.Attempts += 1
3 		logger.Error("could not fetch urls", "err", err, "attempts", post.Data.Attempts)
4 
5-		maxAttempts := 10
6+		maxAttempts := 100
7 		errBody := fmt.Sprintf(`There was an error attempting to fetch your feeds (%d) times.  After (%d) attempts we remove the file from our system.  Please check all the URLs and re-upload.
8 Also, we have centralized logs in our pico.sh TUI that will display realtime feed errors so you can debug.
9