diff options
author | Tej Singh <singhtejinder@google.com> | 2020-05-29 15:13:23 -0700 |
---|---|---|
committer | Tej Singh <singhtejinder@google.com> | 2020-05-29 15:19:48 -0700 |
commit | 2330e9be157fdfa04d3b3fdb17a2d54233a93cd3 (patch) | |
tree | ddc6003c554e8202d05fff9dab02829a55c520b2 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | d7b08c7690595a666ac9f623ffdb1d2efd55b023 (diff) |
Retry pullfinish with empty payload if call fails
If the first call for pullFinished fails, it is likely because the
transaction is too large. Currently, if this happens statsd will just
sleep until the timeout. With this change, the client will retry calling
pullFinish if the first attempt fails, but with an empty payload (and
with success = false) to cause the puller to fail fast, and so statsd
does not wait for the timeout.
Test: atest GtsStatsdHostTestCases
Bug: 157768117
Change-Id: I1af29b6c83039ab56ef847832a600d4afea34000
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions