diff options
author | Sen Jiang <senj@google.com> | 2019-01-10 14:14:41 -0800 |
---|---|---|
committer | Sen Jiang <senj@google.com> | 2019-01-10 15:02:03 -0800 |
commit | 3a25dc2a394b1953989597401467cd00b22cc678 (patch) | |
tree | b070a093b4b8acfbeca37ec593babee763d3794e /scripts/update_payload/format_utils.py | |
parent | ab6bda9f6eecb31f694c58e75c04dcc2acd94b47 (diff) |
Force the last checkpoint to be saved.
We throttle the checkpoint if it's less than 1 second, but this could
lead to the last checkpoint not being saved, reset the checkpoint time
to make sure the last checkpoint will be saved.
Also improved logging when payload size mismatch happens.
Fixes: 122628007
Test: cancel update during postinstall, resume the update
Change-Id: Ia38e036ea81c9a09a16a3e589983e675ab2982cc
Diffstat (limited to 'scripts/update_payload/format_utils.py')
0 files changed, 0 insertions, 0 deletions