diff options
author | Christopher Tate <ctate@google.com> | 2017-03-29 17:42:39 -0700 |
---|---|---|
committer | Christopher Tate <ctate@google.com> | 2017-03-29 18:12:36 -0700 |
commit | b2087f874c9f370b813df49a180609a3ef901a62 (patch) | |
tree | 1f19ac1e8c0ed12d1765665c138747599b54ba5f /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | ee40a2652c5aae1c5fa98fb15346e8f0f90031b5 (diff) |
Reschedule jobs that crash partway through
We were properly re-running jobs if the app hung during their
execution, but outright crashes wound up with the scheduled job
being dropped. That's bad; it can easily lead to broken monitoring
in the case of content-triggered jobs.
We now reschedule with backoff when this happens. In addition, to
mitigate the impact of repeatedly crashing apps, we now enforce a
minimum backoff interval of 10 seconds for automatic reschedules.
Bug 36030229
Test: manual
Change-Id: Ib5da583d7901d1255066c48558b35186eb641e17
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions