Date: Sat, 29 Jan 2022 15:23:38 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 261555] 410.pkg-audit: suggested patch to improve expiry by handling anticongestion delay better Message-ID: <bug-261555-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261555 Bug ID: 261555 Summary: 410.pkg-audit: suggested patch to improve expiry by handling anticongestion delay better Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: wbe@psr.com Created attachment 231429 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D231429&action= =3Dedit suggested patch to make expiry handle anticongestion delay better In 410.pkg-audit, ${security_status_pkgaudit_expiry} is clearly trying to be how often the test is run, in days (e.g., 2). vuln.xml gets written after = the up-to-60 minute anticongestion sleep time on the day it is fetched. Current code uses a fixed 10 minute grace period. Since that's less than the up-to= -60 minute anticongestion sleep time, the result is that differences of N days minus (11+ minutes) results in (N+1) days between fetches. The patch uses ${anticongestion_sleeptime} instead of 600 and improves the comment. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-261555-7788>