Skip to content

Conversation

Kevinjil
Copy link
Contributor

@Kevinjil Kevinjil commented Oct 9, 2024

Confirmed that a streamed event-feed previously seemed to miss events, which are only flushed once the buffer is filled with the keep-alive newlines in the event feed.

This patch causes these events to be flushed. I do not expect a noticeable performance impact by forcing these flushes after 500ms.

fixes #2728

@Kevinjil Kevinjil added this pull request to the merge queue Oct 13, 2024
Merged via the queue into DOMjudge:main with commit 8595592 Oct 13, 2024
26 checks passed
@Kevinjil Kevinjil deleted the apache-proxy-fcgi branch October 13, 2024 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Streamed event feed does not send the latest events
3 participants