summaryrefslogtreecommitdiff
path: root/scripts/update_payload/format_utils.py
diff options
context:
space:
mode:
authorSen Jiang <senj@google.com>2019-01-10 14:14:41 -0800
committerSen Jiang <senj@google.com>2019-01-10 15:02:03 -0800
commit3a25dc2a394b1953989597401467cd00b22cc678 (patch)
treeb070a093b4b8acfbeca37ec593babee763d3794e /scripts/update_payload/format_utils.py
parentab6bda9f6eecb31f694c58e75c04dcc2acd94b47 (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