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:
parent
a2229198ae
commit
598d4d4f51
3 changed files with 18 additions and 15 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue