project-receptor / python-receptor

Project Receptor is a flexible multi-service relayer with remote execution and orchestration capabilities linking controllers with executors across a mesh of nodes.
Other
32 stars 21 forks source link

Receptor exits with zero when unable to listen #180

Open Ichimonji10 opened 4 years ago

Ichimonji10 commented 4 years ago

Try running the following commands twice, concurrently:

poetry run receptor --data-dir="$(mktemp --directory)" node

One process will bind to 0.0.0.0:8888, and the other will fail to bind and bail. The process that bails should, intuitively, exit with a non-zero status code. However, it exits with a zero status code. This seems wrong.