Skip to content

fix: Delay the actual closure of a connection after end stream#2833

Open
jsync-swirlds wants to merge 1 commit into
mainfrom
delay-connection-shutdown-after-end-stream
Open

fix: Delay the actual closure of a connection after end stream#2833
jsync-swirlds wants to merge 1 commit into
mainfrom
delay-connection-shutdown-after-end-stream

Conversation

@jsync-swirlds
Copy link
Copy Markdown
Contributor

@jsync-swirlds jsync-swirlds commented May 16, 2026

Reviewer Notes

  • Add configuration for pause delay
  • Add delay before shutdown
  • Add pause support and pause the handler when a shutdown is scheduled

This is a quick fix to help reduce thrashing for publishers. Further improvement and testing is required in follow-up.

Related Issue(s)

Resolves #2805

@jsync-swirlds jsync-swirlds added this to the 0.35.0 milestone May 16, 2026
@jsync-swirlds jsync-swirlds self-assigned this May 16, 2026
@jsync-swirlds jsync-swirlds requested review from a team as code owners May 16, 2026 02:35
@jsync-swirlds jsync-swirlds added the Publisher Plugin Issue related to Publisher Plugin label May 16, 2026
* Add configuration for pause delay
* Add delay before shutdown
* Add pause support and pause the handler when a shutdown is scheduled

Signed-off-by: Joseph S. <121976561+jsync-swirlds@users.noreply.github.com>
@jsync-swirlds jsync-swirlds force-pushed the delay-connection-shutdown-after-end-stream branch from fd6b3d8 to f4d872a Compare May 16, 2026 02:37
@jsync-swirlds
Copy link
Copy Markdown
Contributor Author

This change is not well tested.
We should run some testing with this change on a branch to verify that it improves the required behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Publisher Plugin Issue related to Publisher Plugin

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Investigate EndStream behavior in Block Stream publish service

1 participant