1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-09-15 18:57:04 +00:00

feat(storage): improve BatchBuilder logging

This commit is contained in:
Frédéric Guillot 2025-08-08 16:29:09 -07:00
parent a2229198ae
commit 598d4d4f51
3 changed files with 18 additions and 15 deletions

View file

@ -33,15 +33,9 @@ func refreshFeeds(store *storage.Storage) {
return
}
nbJobs := len(jobs)
slog.Info("Created a batch of feeds",
slog.Int("nb_jobs", nbJobs),
slog.Int("batch_size", config.Opts.BatchSize()),
)
slog.Debug("Feed URLs in this batch", slog.Any("feed_urls", jobs.FeedURLs()))
nbJobs := len(jobs)
var jobQueue = make(chan model.Job, nbJobs)
slog.Info("Starting a pool of workers",