commit | 4235830287987f8d75901a327f04dfb5f7a19359 | [log] [tgz] |
---|---|---|
author | Pablo Gamito <pablogamito@google.com> | Wed Aug 28 12:39:20 2024 +0000 |
committer | Pablo Gamito <pablogamito@google.com> | Thu Aug 29 13:41:54 2024 +0000 |
tree | 175fb519f23596b0321fd35ad91255e1ce1a225b | |
parent | dde5de7103f3c9f01be85e8a3a46232802cc9d48 [diff] |
Limit the max number of iterations we perform in ProtoLog perf tests Spamming protolog messages in a loop leads to a build up of lambdas in the thread pool queue which at some point leads to an OOM in the test. This address this issue by giving limit that amount of logging lambdas we push to the thread pool. Bug: 361740975 Test: atest ProtoLogPerfTests Flag: TEST_ONLY Change-Id: I60636625ab82965337cdb81d0df7c122db08ad76