commit | 2d0db1b3ba957b6c0ffecee7ec4fdeac6edbf1c5 | [log] [tgz] |
---|---|---|
author | Kweku Adams <kwekua@google.com> | Wed Nov 29 20:56:29 2023 +0000 |
committer | Kweku Adams <kwekua@google.com> | Wed Nov 29 20:56:29 2023 +0000 |
tree | 1c9e6c5d865b27e93d3d68439d6505c4de51536f | |
parent | 418c3175124fabeb9479b1911a65391657aff3a2 [diff] |
Avoid doubly penalizing rescheduled periodic jobs for flex. Periodic jobs that were completed successfully and rescheduled sometimes have adjusted start times to avoid running them back to back. When this happens, make sure the flex logic takes the adjustment into account and doesn't delay the constraint drops too significantly. Bug: 236261941 Test: atest FrameworksMockingServicesTests:FlexibilityControllerTest Change-Id: I039f86a409754089c7592719e0fd3355d6883cfb