stlehmann/Flask-MQTT

problem with sending MQTT PUBLISH when using multiprocessing

gromajus opened this issue · 1 comments

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?

As written in the docs Flask-MQTT is not suitable for multiprocessing.