]> git.michaelhowe.org Git - packages/p/paho-mqtt.git/commit
Break out of select() on publish()/subscribe() etc.
authorRoger Light <roger@atchoo.org>
Wed, 5 Feb 2014 20:15:01 +0000 (20:15 +0000)
committerRoger Light <roger@atchoo.org>
Wed, 5 Feb 2014 20:15:01 +0000 (20:15 +0000)
commit4376b3763c63f7ac7d31defa3fbc4ed8947b4be9
treedb584f7a3ca827757d0d33e59adef9ab585e3f75
parent2c209634841259fb2d98c4ad5f932fd1615e7783
Break out of select() on publish()/subscribe() etc.

When a call to publish()/subscribe()/unsubscribe()/disconnect() is made
and the client is using the threaded mode, the outgoing command will be
delayed by 0.5 seconds on average. This commit breaks out of select() to
remove the delay.

Change-Id: I7a669604c767abb0bcc399bdf1fe3b82c7ef9539
src/paho/mqtt/client.py
test/lib/python/08-ssl-connect-cert-auth.test
test/lib/python3/08-ssl-connect-cert-auth.test