openwrt-openwisp-monitoring icon indicating copy to clipboard operation
openwrt-openwisp-monitoring copied to clipboard

[change] Introduce random pause in sending of accumulated data

Open nemesifier opened this issue 1 year ago • 0 comments
trafficstars

Introduce random pause in sending of accumulated data at the end of this loop: https://github.com/openwisp/openwrt-openwisp-monitoring/blob/adf28d536fd61c22ca4f021233e9d8c0bbb49d06/openwisp-monitoring/files/monitoring.agent#L122

The pause should be introduced only every 10 requests, it shall be of a random amount of seconds, comprised between 1 and 5 and it shall be introduced only if the sending was successful.

nemesifier avatar Dec 14 '23 15:12 nemesifier