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: Author: asomers Date: Sat May 20 02:27:54 UTC 2017 New revision: 441283 URL: https://svnweb.freebsd.org/changeset/ports/441283 Log: Use anticongestion in dns/ddclient Introduced in src r316342, the anticongestion feature unifies multiple periodic scripts' disparate sleeps. PR: 218442 Approved by: mjl@luckie.org.nz (maintainer) Approved by: brd (ports) Changes: head/dns/ddclient/Makefile head/dns/ddclient/files/ddclient_force.in