token dispenser load optimization
Description
- Switch from requesting package details individually to fetching them in batches to reduce load on the token dispenser and minimize network requests.
- It also resolves the issue where a restricted app appeared with the install action.
Screenshots
N/A
Technical details
Previously, we were using a for loop to fetch details for each package individually. However, GPlay provides a mechanism to retrieve details for multiple packages in a single request — let’s use that instead.
Tests
Manual: Open the app and check for updates.
Issues
closes #3566 and #3771
10 commandments of code review
Edited by dev-12