Index: sysutils/bsdstats/Makefile =================================================================== --- sysutils/bsdstats/Makefile (revision 437338) +++ sysutils/bsdstats/Makefile (working copy) @@ -3,7 +3,7 @@ PORTNAME= bsdstats PORTVERSION= 6.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils DISTFILES= Index: sysutils/bsdstats/files/300.statistics.in =================================================================== --- sysutils/bsdstats/files/300.statistics.in (revision 437338) +++ sysutils/bsdstats/files/300.statistics.in (working copy) @@ -494,8 +494,16 @@ setup_proxies test_connection log "INIT" "Connected to ${checkin_server_description}" - # sleep random number of seconds by default - test X"$1" = X-nodelay || ${SLEEP} $(random) + # When non-interactive, sleep to reduce congestion on bsdstats.org + if [ "$1" != -nodelay ]; then + # In FreeBSD 12.0 the anticongestion function should be used + # instead of a hard-coded sleep + if [ -n "$anticongestion_sleeptime" ]; then + anticongestion + else + ${SLEEP} $(random) + fi + fi # prepare get_id_token # begin