Start cover download immediately

This commit is contained in:
Timmy Welch 2024-10-18 11:48:06 -07:00
parent 89c9b4ebce
commit 97802d9111

View File

@ -868,6 +868,7 @@ func startServer(opts Opts) {
cvdownloader := cv.NewCVDownloader(server.Context, opts.cv.path, opts.cv.APIKey, imageTypes, opts.cv.hashDownloaded, finishedDownloadQueue) cvdownloader := cv.NewCVDownloader(server.Context, opts.cv.path, opts.cv.APIKey, imageTypes, opts.cv.hashDownloaded, finishedDownloadQueue)
go func() { go func() {
defer dwg.Done() defer dwg.Done()
cv.DownloadCovers(cvdownloader)
f: f:
for { for {
select { select {