fix: prevent cron from firing all MQTT publishers in quick succession #156
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "Mark-van-der-Klaauw/intranet:fix/mqtt-publish-pacing"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
To prevent cron from firing all MQTT publishers back-to-back in quick succession every 5 minutes, add a 5 second pause between each MQTT publisher call to spread the load across the run instead of firing it in very quick succession.