MOE icon indicating copy to clipboard operation
MOE copied to clipboard

[Python] Let server configure the maximum possible number of threads

Open suntzu86 opened this issue 10 years ago • 0 comments

#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).

suntzu86 avatar Jul 18 '14 02:07 suntzu86