Fix demo server name in example

This commit is contained in:
Olivier 'reivilibre' 2022-08-25 15:56:24 +01:00
parent 288098ac0a
commit 3a8c4e91da
1 changed files with 1 additions and 1 deletions

View File

@ -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