Commit 12c3f12
Eric Bower
·
2026-03-08 09:29:52 -0400 EDT
parent 630534b
chore(feeds): extend retry number to 100 10 is too small since we count every 10 minutes
1 files changed,
+1,
-1
+1,
-1
| ... | ... | @@ -272,7 +272,7 @@ func (f *Fetcher) RunPost(logger *slog.Logger, user *db.User, isPicoPlus bool, p | |
| 272 | 272 | post.Data.Attempts += 1 | |
| 273 | 273 | logger.Error("could not fetch urls", "err", err, "attempts", post.Data.Attempts) | |
| 274 | 274 | ||
| 275 | - | maxAttempts := 10 | |
| 275 | + | maxAttempts := 100 | |
| 276 | 276 | 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. | |
| 277 | 277 | Also, we have centralized logs in our pico.sh TUI that will display realtime feed errors so you can debug. | |
| 278 | 278 |