Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set semaphore to 2 for "request_task" API
Tested working fine with a fleet of 75k cores 10k machines, Waitress configured with threads=4 and connection_limit=100 HW usage: RAM 72%, primary Waitress instance CPU 85-95% This is a good compromise for threads "privileged" for "request_task" API, and threads free for any other APIs, while keeping Waitress threads=4. Raising the number of Waitress threads uses more RAM and can requires lowering the MongoDB cache size to avoid the OOM killer. see official-stockfish#2003
- Loading branch information