diff options
author | Andreas Madsen <amwebdk@gmail.com> | 2012-05-20 17:57:24 +0400 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2012-05-22 01:27:44 +0400 |
commit | 81a4edcf6afc1180b80a516db894db400ce04b1a (patch) | |
tree | 038d5e6c4584c63dc8f8bfd974feec6abe970d73 /src/pipe_wrap.cc | |
parent | 968b49ba0a6329af83b46c598524d7ae2460df57 (diff) |
cluster: remove NODE_UNIQUE_ID from env on startup
In case a worker would spawn a new subprocess with process.env, NODE_UNIQUE_ID
would have been a part of the env. Making the new subprocess believe it is a
worker, this would result in some confusion if the subprocess where to listen to
a port, since the server handle request would then be relayed to the worker.
This patch removes the NODE_UNIQUE_ID flag from process.env on startup so any
subprocess spawned by a worker is a normal process with no cluster stuff.
Diffstat (limited to 'src/pipe_wrap.cc')
0 files changed, 0 insertions, 0 deletions