Skip to content
Snippets Groups Projects
Commit 42d80a52 authored by James Arcus's avatar James Arcus
Browse files

Don't ask for all old messages, retained message is enough

parent a830062c
No related merge requests found
......@@ -13,7 +13,7 @@ const mqtt_port = process.env.MQTT_PORT;
// Create an MQTT client instance
const options = {
clean: false, // We want to see door messages we missed while we were anyway
clean: true,
connectTimeout: 5000,
clientId: 'nodejs_door_listener',
username: process.env.MQTT_USER,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment