forked from googleapis/google-api-go-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bundler: use weighted semaphore to enforced byte limit
The weighted semaphore class, since it's context-aware, can replace the previous complex mechanism involving channels. It is FIFO, so it also solves the starvation problem. Change-Id: If758576c6284abd8c9638db10600d9a9e6699c07 Reviewed-on: https://code-review.googlesource.com/11520 Reviewed-by: Jonathan Amsterdam <[email protected]>
- Loading branch information
Showing
1 changed file
with
43 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters