commit:     3bf2144eb34101c0539dc4d3e057c13d0790f8d7
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Mon Oct  9 11:01:14 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 13 10:18:00 2023 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=3bf2144e

repos.conf: set value of sync-rsync-verify-max-age for ::gentoo to 3

The value sync-rsync-verify-max-age specifies the default age in
days. The current value of 24 is too high for an repo with daily
changes like ::gentoo, and was set under the assumption that
max-age denotes hours [1].

1: 8d99acdb3f4f ("rsync: Issue an explicit warning if Manifest
timestamp is >24hr old")

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
Fixes: 8d99acdb3f4f ("rsync: Issue an explicit warning if Manifest timestamp is 
>24hr old")
Closes: https://github.com/gentoo/portage/pull/1125
Signed-off-by: Sam James <sam <AT> gentoo.org>

 cnf/repos.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cnf/repos.conf b/cnf/repos.conf
index 6cb6e3b3c4..f16fd352ee 100644
--- a/cnf/repos.conf
+++ b/cnf/repos.conf
@@ -8,7 +8,7 @@ sync-uri = rsync://rsync.gentoo.org/gentoo-portage
 auto-sync = yes
 sync-rsync-verify-jobs = 1
 sync-rsync-verify-metamanifest = yes
-sync-rsync-verify-max-age = 24
+sync-rsync-verify-max-age = 3
 sync-openpgp-key-path = /usr/share/openpgp-keys/gentoo-release.asc
 sync-openpgp-keyserver = hkps://keys.gentoo.org
 sync-openpgp-key-refresh-retry-count = 40

Reply via email to