commit | 4e843106a6f510a7d77fedfbeaec8e95b57905b7 | [log] [tgz] |
---|---|---|
author | Yi Jin <jinyithu@google.com> | Wed Feb 14 15:36:18 2018 -0800 |
committer | Yi Jin <jinyithu@google.com> | Tue Feb 20 13:11:22 2018 -0800 |
tree | 9cc95d97bc6d6ad2901ee53a5614a0a1de062277 | |
parent | f759af6f3bced14b13fe0891eec4cd6c423c5a67 [diff] |
Throttler for incidentd based on size putting into dropbox. The incidentd will accumulate the total size put into dropbox and once it exceeds a threshold (currently 20MB) daily, it will stop further requests. It allows collection again 24 hours later. Bug: 64219725 Test: atest incidentd_test and manually flashed incidentd and test. Change-Id: Iea21fbae40d5d01108797b190231d73e74eff213