Merge pull request #17633 from 2m/wip-buffer-drop-new
dropNew overflow strategy
This commit is contained in:
commit
0e6694a102
8 changed files with 64 additions and 2 deletions
|
|
@ -68,6 +68,10 @@ class StreamBuffersRateSpec extends AkkaSpec {
|
|||
jobs.buffer(1000, OverflowStrategy.dropTail)
|
||||
//#explicit-buffers-droptail
|
||||
|
||||
//#explicit-buffers-dropnew
|
||||
jobs.buffer(1000, OverflowStrategy.dropNew)
|
||||
//#explicit-buffers-dropnew
|
||||
|
||||
//#explicit-buffers-drophead
|
||||
jobs.buffer(1000, OverflowStrategy.dropHead)
|
||||
//#explicit-buffers-drophead
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue