mirror of
https://github.com/monero-project/monero.git
synced 2025-08-10 22:30:14 -04:00
Tweak concurrency limits
Create capacity for 2x max, but lie about it
This commit is contained in:
parent
510d0d4753
commit
6d0ca7d11f
2 changed files with 6 additions and 2 deletions
|
@ -65,7 +65,7 @@ public:
|
|||
// task to finish.
|
||||
void submit(waiter *waiter, std::function<void()> f);
|
||||
|
||||
int get_max_concurrency() { return max; }
|
||||
int get_max_concurrency();
|
||||
|
||||
private:
|
||||
threadpool();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue