Created attachment 181556 [details]
Use anticongestion instead of simply sleeping
svn r316342 added a common anticongestion routine that all periodic scripts should use instead of simply calling sleep. To test if it's available, a port should check for the anticongestion_sleeptime variable.
Created attachment 181567 [details]
use anticongestion to reduce bursty load on server
Fix a comment in the previous patch
I have tested the patch on FreeBSD 10.3 (which does not have the anticongestion framework) and it seems fine to me. Maintainer approved.
A commit references this bug:
Date: Sat May 20 02:27:54 UTC 2017
New revision: 441283
Use anticongestion in dns/ddclient
Introduced in src r316342, the anticongestion feature unifies multiple
periodic scripts' disparate sleeps.
Approved by: firstname.lastname@example.org (maintainer)
Approved by: brd (ports)