summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Piyush Mehrotra <piee@google.com> 2024-01-09 20:15:16 +0000
committer Piyush Mehrotra <piee@google.com> 2024-01-10 17:44:23 +0000
commita10db39e59274a2abaa7e5b47d248069c2c853cf (patch)
tree6ed72697570cae4b30def57a18ed4b20c27ba901 /api/api.go
parentc835e9846bfd1f76db6392e7cf7afbe092cb9fba (diff)
Set buffer size to match Linux pipe internal buffer when reading/writing from/to pipes in Backup/Restore flow.
ag/21072118 used of feature flags to control buffer sizes, which are now deprecated. Those flags were also never used. This change makes use of trunk-stable frozen flags to set the buffer size to match Linux pipe internal buffer when reading/writing from/to pipes in Backup/Restore flow. See 'Pipe capacity' section in https://man7.org/linux/man-pages/man7/pipe.7.html Bug: 265976737 Test: Ensure that the change builds (m -j frameworks/base) Ensure CTS and GTS B&R tests pass Change-Id: I8bb96e2e273b0c7eb4809af985fe322e49bb0268
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions