Closed jronak closed 3 years ago
Merging #336 (91e242d) into dev (28df925) will increase coverage by
0.03%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## dev #336 +/- ##
==========================================
+ Coverage 90.26% 90.30% +0.03%
==========================================
Files 54 54
Lines 2702 2712 +10
==========================================
+ Hits 2439 2449 +10
Misses 184 184
Partials 79 79
Impacted Files | Coverage Δ | |
---|---|---|
options.go | 93.54% <ø> (ø) |
|
handler.go | 82.41% <100.00%> (+1.51%) |
:arrow_up: |
protobuf/source_reflection.go | 96.22% <0.00%> (-3.78%) |
:arrow_down: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 28df925...91e242d. Read the comment docs.
Adds option
stream-delay-close-send
which accepts time duration to delay the closure of the send stream in the client streaming, and bidirectional streaming methods.Currently, Yab closes the send stream once all the client requests have been dispatched which causes certain bidirectional streaming servers to stop the stream entirely. With this option, once all the client requests have been dispatched we can delay the closure of send stream.
This is particularly useful for Adhoc requests where servers stop sending the messages once send stream is closed.
For example, the client opens a bidirectional stream to watch the user activity of two users. But the server closes the stream if the client-side send stream is stopped.
Earlier:
Now: