diff options
| author | xengineering <me@xengineering.eu> | 2025-12-20 13:23:17 +0100 |
|---|---|---|
| committer | xengineering <me@xengineering.eu> | 2025-12-20 13:23:17 +0100 |
| commit | faf9fb7a8c5e8b31e9c1104b42d7e550e986ca61 (patch) | |
| tree | 039692768f1d6271f9b4ae2e01456f1c829db12a | |
| parent | 2b4b4235d692b32f5dc18e1fda39917365857336 (diff) | |
| download | sia-server-faf9fb7a8c5e8b31e9c1104b42d7e550e986ca61.tar sia-server-faf9fb7a8c5e8b31e9c1104b42d7e550e986ca61.tar.zst sia-server-faf9fb7a8c5e8b31e9c1104b42d7e550e986ca61.zip | |
Raise to QoS 1
This ensures the state updates reach the broker. QoS 2 is not required
since multiple reception of the same state will not make a difference.
| -rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -17,7 +17,7 @@ const ( BROKER = `tcp://127.0.0.1:1883` CLIENT_ID = `siaserver` TOPIC_PREFIX = `sia` - QOS = byte(0) + QOS = byte(1) RETAINED = true MQTT_CONNECT_TIMEOUT = time.Second * 5 MQTT_DISCONNECT_TIMEOUT_US = 500 |
