-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(concurrentbatchprocessor): add in-flight byte limit to producer queue (
#93) This PR adds a new config option in the `concurrentbatchprocessor` named `max_in_flight_bytes`. This config option will be used by processor to control admission (using a semaphore) into the producer queue based on the size of requests. Fixes #80. Fixes #11. --------- Co-authored-by: Joshua MacDonald <jmacd@users.noreply.github.com>
- Loading branch information
1 parent
62d28a8
commit f2d291d
Showing
8 changed files
with
366 additions
and
72 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -170,14 +170,3 @@ require ( | |
gopkg.in/yaml.v2 v2.4.0 // indirect | ||
gopkg.in/yaml.v3 v3.0.1 // indirect | ||
) | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
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
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
Oops, something went wrong.