Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 56a4c7fd authored by Ken Chen's avatar Ken Chen
Browse files

Code Health: Make OperationLimiter generic

Aosp/2071247 read an experimental flag max_queries_global in
OperationLimiter::start(), making the generic class OperationLimiter
specific. This commit adds a wrapper function to pass the global
limiter, allowing OperationLimiter to remain generic.

Bug: 230284143
Test: atest resolv_unit_test:OperationLimiterTest
Change-Id: I7b14ace9d27a87b3832e1c807d762850feeab5fe
parent a2ca20db
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment