=str #18890 fix throttle
This commit is contained in:
parent
5fc6902141
commit
f7d23b508b
7 changed files with 33 additions and 25 deletions
|
|
@ -1117,7 +1117,7 @@ class SubSource[+Out, +Mat](delegate: scaladsl.SubFlow[Out, Mat, scaladsl.Source
|
|||
* Tokens drops into the bucket at a given rate and can be `spared` for later use up to bucket capacity
|
||||
* to allow some burstyness. Whenever stream wants to send an element, it takes as many
|
||||
* tokens from the bucket as number of elements. If there isn't any, throttle waits until the
|
||||
* bucket accumulates enough tokens.
|
||||
* bucket accumulates enough tokens. Bucket is full when stream just materialized and started.
|
||||
*
|
||||
* Parameter `mode` manages behaviour when upstream is faster than throttle rate:
|
||||
* - [[akka.stream.ThrottleMode.Shaping]] makes pauses before emitting messages to meet throttle rate
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue