|author||Erick Tryzelaar <email@example.com>||Tue Jun 08 17:53:01 2021 +0000|
|committer||releases-try-builder <firstname.lastname@example.org>||Tue Jun 08 22:18:12 2021 +0000|
[pkg-resolver] Cache TUF metadata with non-auto repos Previously, we would try to update TUF every time before we try to resolve a package. This can generate a significant amount of load during an OTA, since we would update for each package. This patch fixes this by allowing the TUF metadata to be cached for 5 minutes, which should significantly reduce the load on the server. Note: This differs from the original CL since fuchsia-pkg-testing's serve::handler was renamed to serve::responder, and that we needed to backport serve::handler::Record for the tests to pass. Fixed: 77442 Change-Id: I70b5a5682a56dd706f26b6536bed13565f6418bd Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/538013 Commit-Queue: Erick Tryzelaar <email@example.com> Fuchsia-Auto-Submit: Erick Tryzelaar <firstname.lastname@example.org> Reviewed-by: Dan Johnson <email@example.com> (cherry picked from commit c8a2a422f7684f810af88217fa74ff2d374fdd64)
Pink + Purple == Fuchsia (a new operating system)
Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.
Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.
See Getting Started.