problem with sending MQTT PUBLISH when using multiprocessing
gromajus opened this issue · 1 comments
gromajus commented
Hi!
In my code I am able to send Publish from the main thread, but when I use multiprocessing, the logger shows that the message was published, my the broker doesn't get any message.
The publish result code is zero.
Is it wanted behaviour? Or I am doing something wrong?
stlehmann commented
As written in the docs Flask-MQTT is not suitable for multiprocessing.