Rework thread pool for increased stability + config and doc updates (#1453)

Also updates fmt to 11.2.0 and replaced syslog usage with a wrapper
leveraging fmt.
This commit is contained in:
trapexit 2025-05-05 18:28:49 -05:00 • committed by GitHub
parent 455a81290b
commit 344014aa81
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
58 changed files with 9097 additions and 24020 deletions

View file

@ -107,7 +107,7 @@ namespace l
futures.reserve(branches_->size());
for(auto const &branch : *branches_)
for(const auto &branch : *branches_)
{
auto func =
[&branch,&rel_dirpath_,uid_,gid_]()
@ -124,7 +124,7 @@ namespace l
return DirRV{&branch.path,dir,errno};
};
auto rv = tp_.enqueue_task(func);
auto rv = tp_.enqueue_task(std::move(func));
futures.emplace_back(std::move(rv));
}