mirror of
https://github.com/projecthorus/sondehub-infra.git
synced 2025-01-18 02:39:45 +00:00
testing QoS
This commit is contained in:
parent
82dcaf86eb
commit
63313303f2
@ -97,7 +97,7 @@ def lambda_handler(event, context):
|
||||
(msg, x) = mqtt_connection.publish(
|
||||
topic=f'sondes/{payload["serial"]}',
|
||||
payload=json.dumps(payload),
|
||||
qos=mqtt.QoS.AT_MOST_ONCE)
|
||||
qos=mqtt.QoS.AT_LEAST_ONCE)
|
||||
msg.result()
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user