I am facing a blocking issue with Node-RED.
I need to use an exec node which calls a function written in C++, and that contains a SLEEP function.
When the sleep is >= 1.0 sec, the Node-RED's CPU usage is all good : 1-5%.
But as soon as the sleep is < 1.0 sec, for instance 999ms, the Node-RED's CPU usage is skyrocketing to 100% and gets (obviously) Node-RED broken.
Would you be able to have a look at this, as I need a SLEEP function in my C++ code that is below 1.0 sec?