[Merged by Bors] - Don't kill SSE stream if channel fills up#4500
[Merged by Bors] - Don't kill SSE stream if channel fills up#4500michaelsproul wants to merge 1 commit intosigp:unstablefrom
Conversation
9f3c103 to
7999074
Compare
|
Just pushed a new commit that's more aggressive at never erroring. I also removed the dumb warp backtracking behaviour, which might have been interfering (related: #3404). So far I haven't gotten any disconnects from this updated commit. |
|
feedback from my local testing is that this is not disconnecting any more and I'm logging ~17-20k attestations per slot subscribed to the sse attestation topic. I also tested current |
|
@Savid YES! That's what I wanted to hear 🎉 |
|
Will block this on #4595 which gives us some of the nicer error handling for free |
a13fb4d to
1c07744
Compare
|
This is ready to go now |
|
bors r+ |
## Issue Addressed Closes #4245 ## Proposed Changes - If an SSE channel fills up, send a comment instead of terminating the stream. - Add a CLI flag for scaling up the SSE buffer: `--http-sse-capacity-multiplier N`. ## Additional Info ~~Blocked on #4462. I haven't rebased on that PR yet for initial testing, because it still needs some more work to handle long-running HTTP threads.~~ - [x] Add CLI flag tests.
|
Build failed (retrying...): |
## Issue Addressed Closes #4245 ## Proposed Changes - If an SSE channel fills up, send a comment instead of terminating the stream. - Add a CLI flag for scaling up the SSE buffer: `--http-sse-capacity-multiplier N`. ## Additional Info ~~Blocked on #4462. I haven't rebased on that PR yet for initial testing, because it still needs some more work to handle long-running HTTP threads.~~ - [x] Add CLI flag tests.
|
Build failed (retrying...): |
|
bors r- |
|
Canceled. |
|
bors r+ |
## Issue Addressed Closes #4245 ## Proposed Changes - If an SSE channel fills up, send a comment instead of terminating the stream. - Add a CLI flag for scaling up the SSE buffer: `--http-sse-capacity-multiplier N`. ## Additional Info ~~Blocked on #4462. I haven't rebased on that PR yet for initial testing, because it still needs some more work to handle long-running HTTP threads.~~ - [x] Add CLI flag tests.
|
Pull request successfully merged into unstable. Build succeeded! The publicly hosted instance of bors-ng is deprecated and will go away soon. If you want to self-host your own instance, instructions are here. If you want to switch to GitHub's built-in merge queue, visit their help page.
|
Closes sigp#4245 - If an SSE channel fills up, send a comment instead of terminating the stream. - Add a CLI flag for scaling up the SSE buffer: `--http-sse-capacity-multiplier N`. ~~Blocked on sigp#4462. I haven't rebased on that PR yet for initial testing, because it still needs some more work to handle long-running HTTP threads.~~ - [x] Add CLI flag tests.
Closes sigp#4245 - If an SSE channel fills up, send a comment instead of terminating the stream. - Add a CLI flag for scaling up the SSE buffer: `--http-sse-capacity-multiplier N`. ~~Blocked on sigp#4462. I haven't rebased on that PR yet for initial testing, because it still needs some more work to handle long-running HTTP threads.~~ - [x] Add CLI flag tests.
Issue Addressed
Closes #4245
Proposed Changes
--http-sse-capacity-multiplier N.Additional Info
Blocked on #4462. I haven't rebased on that PR yet for initial testing, because it still needs some more work to handle long-running HTTP threads.