Skip to content

Number of processes in multiprocessing mode can become NaN #108

Open
@founta

Description

@founta
[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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions