User avatar
pathetic piss kitten @kitten@elizabeth.cat
1y
so, today's duplicated messages from my sleep tracker were basically because of me using MQTT with type 1 QoS

I implemented a quick duplicate check in the backend so it shouldn't happen anymore
:blobbee_heart_purple@polycule.li:1❤️1
2
0
4
2
User avatar
LilaHexe @LilaHexe@fedi.lilahexe.top
1y
@kitten doesnt mqtt have a QoS level with that built in?
1
0
0
0
User avatar
pathetic piss kitten @kitten@elizabeth.cat
1y
@LilaHexe yes, type 2, but that requires extra handshaking, which would potentially consume a bit more battery from my watch

and since I'm already writing all events to a postgres database anyway, I can just make the publishing dependant on that and offload the work to the backend
❤️1👍1
0
0
0
2