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

@ -139,6 +139,7 @@ namespace l
}
static
inline
int
concurrent_readdir(ThreadPool &tp_,
const Branches::CPtr &branches_,
@ -168,7 +169,7 @@ namespace l
mutex);
};
auto rv = tp_.enqueue_task(func);
auto rv = tp_.enqueue_task(std::move(func));
futures.emplace_back(std::move(rv));
}
@ -182,7 +183,7 @@ namespace l
}
int
FUSE::ReadDirCOR::operator()(fuse_file_info_t const *ffi_,
FUSE::ReadDirCOR::operator()(const fuse_file_info_t *ffi_,
fuse_dirents_t *buf_)
{
Config::Read cfg;