postgresql-9.3

Paho-Mqtt django, on_message() function runs twice

Paho-Mqtt django, on_message() function runs twice Question: I am using paho-mqtt in django to recieve messages. Everything works fine. But the on_message() function is executed twice. I tried Debugging, but it seems like the function is called once, but the database insertion is happening twice, the printing of message is happening twice, everything within the …

Total answers: 3