Garbage collected language slowing down over time is a classical symptom of a heap leak. I haven't reviewed your code so I don't want to assume but that's where I'd start looking.It's using whatever defaults MicroPython have chosen. I can't see anything wrong nor guess what tweaks might improve things. There's no "become more unresponsive the longer we run for" option that has mistakenly been setMaybe you need to tweak your lwipopts.h. See Configuring lwipopts.h and Options (lwipopts.h).![]()
It's working fine today. Works, works, doesn't work, works, has become a familiar experience.
I have a weather station working using MQTT in C++ that has been going strong now for almost a week, posting 2x MQTT messages per five seconds. That being said, I'm using the hardware watchdog to check for successful publishes, so I guess I'd not really notice if it wasn't working well, since it would just reboot.
Statistics: Posted by jags84 — Sat Jul 27, 2024 2:07 pm