commit | e31640e29355a99c8bf264d4507b469fc9bae8ae | [log] [tgz] |
---|---|---|
author | Thomas Gales <tgales@google.com> | Tue Nov 05 20:42:16 2024 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Nov 05 20:42:16 2024 +0000 |
tree | 1f25a392e43fb55bdf64e8b6efcc98dc4367e93d | |
parent | ac48457c3f06b725354902f403144182e710e060 [diff] |
[feedback] Lazily reset product quotas Once the monotonic clock pauses, we will not have a way to reliably schedule periodic work. This could result in product quotas getting reset much later than intended. For example, it's possible for our product quota reset task to occur after 10 days instead of the intended 1 day if the device is suspended 90% of the time because async work is scheduled based on the monotonic clock. This CL changes our product quota reset from occurring proactively on a periodic schedule to occurring lazily as quotas are queried. Bug: 360946313 Tested: `fx test //src/developer/forensics` Tested: `fx shell crasher` with quota temporarily set to 1 and reset period set to 5 minutes. Observed reports after the first get rejected both before and after reboots until quota reset occurred. Change-Id: Ia6bea7ece861d6209dc81ef4f07e1f50f389225f Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1150816 Reviewed-by: Alex Pankhurst <pankhurst@google.com> Commit-Queue: Thomas Gales <tgales@google.com>
Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.
We expect everyone interacting with our project to respect our code of conduct.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.