Fix demo server name in example
This commit is contained in:
parent
288098ac0a
commit
3a8c4e91da
|
@ -43,7 +43,7 @@ async def main():
|
||||||
# Wrap it to create an asyncronous version
|
# Wrap it to create an asyncronous version
|
||||||
client = AsyncClient(sync_client, nursery)
|
client = AsyncClient(sync_client, nursery)
|
||||||
# Connect to the broker, and subscribe to the topic
|
# Connect to the broker, and subscribe to the topic
|
||||||
client.connect("mqtt.eclipse.org", 1883, 60)
|
client.connect("mqtt.eclipseprojects.io", 1883, 60)
|
||||||
client.subscribe(topic)
|
client.subscribe(topic)
|
||||||
|
|
||||||
# Start the reader
|
# Start the reader
|
||||||
|
|
Loading…
Reference in New Issue