make logic job queue 8 times bigger

pull/929/head
Jeff Becker 5 years ago
parent ee40389f05
commit 853108ce6e
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -19,7 +19,7 @@ struct llarp_threadpool
std::unique_ptr< llarp::thread::ThreadPool > impl;
llarp_threadpool(int workers, llarp::string_view name,
size_t queueLength = size_t{1024})
size_t queueLength = size_t{1024 * 8})
: impl(std::make_unique< llarp::thread::ThreadPool >(
workers, std::max(queueLength, size_t{32}), name))
{

Loading…
Cancel
Save