Hopefully faster
This commit is contained in:
@@ -72,7 +72,7 @@ mosquitto_sub -h 127.0.0.1 -p 1883 -q 0 -t "$TOPIC" | while IFS="=" read -r key
|
|||||||
|
|
||||||
# FIX: Ensure you are sending the EXACT key the publisher is waiting for
|
# FIX: Ensure you are sending the EXACT key the publisher is waiting for
|
||||||
# If your publisher is looking for "SaveSync", change "SaveContinue" below
|
# If your publisher is looking for "SaveSync", change "SaveContinue" below
|
||||||
mosquitto_pub -h 127.0.0.1 -p 1883 -t "$RESPONSE_TOPIC" -m "SaveSync=0"
|
mosquitto_pub -h 127.0.0.1 -p 1883 -t "$RESPONSE_TOPIC" -m "SaveSync=ok"
|
||||||
) &
|
) &
|
||||||
log "DEBUG" "Sync backgrounded."
|
log "DEBUG" "Sync backgrounded."
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user