Load locales dynamically
For initial loading performance, we should only load the locale we are interested in. Right now, all locales are loaded.
https://github.com/visualize-admin/visualization-tool/blob/5671fc624d9f6423400219e57eff83b7c43c5eb2/app/locales/locales.ts#L1
I have the ESP32 running for months (with 1 ping each ~10 mins). The only restarts I had (just a few) were when there were issues with WiFi and it was trying too many times to reconnect ... but there I suspect something with WiFi stack, not with the ping. Probably it will be tough to debug what you say ...
Well... i´m pinging every 15 secs, maybe you need more time. I´m runing the code from a task in core 1, maybe there is a bug while running in the other core than core 0. I´m gonna try to move it to the core 0 (in the main loop) and tell you the results.
Moved to the first core... and testing. By the way... the reason cause i´ve moved the function is the long time it takes, so, i moved the function to the second idle core. I´ve seen the default timeout is 1sec. Is there any way to decrease it for example 200ms? tnxs