From dad159dc3c4ebc89d395b4b695a0626b7be10578 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Thu, 1 Feb 2024 10:54:20 +1100 Subject: Use a single pool of bg workers instead of separate tasks per use case Also: bump the number of workers tasks up to 3 from 2! This makes bg db updates + playback work :) --- src/database/include/database.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/database/include/database.hpp') diff --git a/src/database/include/database.hpp b/src/database/include/database.hpp index c4da3dc1..783d3872 100644 --- a/src/database/include/database.hpp +++ b/src/database/include/database.hpp @@ -56,7 +56,7 @@ class Database { static auto Open(IFileGatherer& file_gatherer, ITagParser& tag_parser, locale::ICollator& collator, - tasks::Worker& bg_worker) + tasks::WorkerPool& bg_worker) -> cpp::result; static auto Destroy() -> void; -- cgit v1.2.3