Node-Red in conjunction with pm2 in cluster mode context issue

Hi all

Resolved. Add env variable to settings.js:
process.env.PID = "authentication/resp/"+process.pid;

And then use $(PID) as the topic.

Regards
Morne

1 Like