MOE
MOE copied to clipboard
[Python] Let server configure the maximum possible number of threads
#82 fixed a bug where users could specify INT_MAX threads and crash the server. It introduced MAX_ALLOWED_NUM_THREADS
as a constant.
It'd be nice if server admins could set this value via a .ini
file or similar (alternatively it can be set via an openmp environment variable).