kopia lustrzana https://github.com/Yakifo/amqtt
Fix client id pattern
rodzic
e5a05d57f7
commit
0e2d0c4a8a
|
@ -52,7 +52,7 @@ def _gen_client_id():
|
||||||
import socket
|
import socket
|
||||||
pid = os.getpid()
|
pid = os.getpid()
|
||||||
hostname = socket.gethostname()
|
hostname = socket.gethostname()
|
||||||
return "hbmqtt_pub/%d-%s" % (pid, hostname)
|
return "hbmqtt_sub/%d-%s" % (pid, hostname)
|
||||||
|
|
||||||
|
|
||||||
def _get_qos(arguments):
|
def _get_qos(arguments):
|
||||||
|
|
Ładowanie…
Reference in New Issue