Number of processes in multiprocessing mode can become NaN
Opened this issue · 0 comments
founta commented
[root@mymachine test]# tessera -m -P 4 -p 8052 -c tessera-config.json
Launching in multiprocess mode with NaN workers.
I was seeing the above output. It was interesting -- it would work on one of my machines but not this one. I had it running in the same docker image across both machines. I am not entirely sure what's up there but I tested that replacing that parseInt
for the number of processes with parseFloat
or Number
corrected the problem
I also saw that doing this (specifying the number of processes twice) fixed the issue on the problematic machine for whatever reason:
[root@mymachine test]# tessera -m -P 4 -P 4 -p 8052 -c tessera-config.json
Launching in multiprocess mode with 4 workers.