Skip to content

feat(dgw): cap the size of a session recording log push - #2002

Closed
irvingouj@Devolutions (irvingoujAtDevolution) wants to merge 3 commits into
feat/jrec-concurrent-log-pushfrom
feat/jrec-slog-size-limit
Closed

irvingouj@Devolutions (irvingoujAtDevolution) wants to merge 3 commits into
feat/jrec-concurrent-log-pushfrom
feat/jrec-slog-size-limit

Conversation

@irvingoujAtDevolution

Copy link
Copy Markdown
Contributor

Stacked on #2001.

Caps a .slog push at 64 MiB. Hitting the cap closes only the log push with close code 4011 (next to 4010 for storage full), and the media push keeps going. Media pushes have no cap.

Tests: cargo test -p devolutions-gateway --lib (recording, jrec, token, streaming, session) 32/32, clippy clean.

🤖 Generated with Claude Code

A log push (`.slog`) is now closed once it reaches 64 MiB. The Gateway
closes it with WebSocket close code 4011. The media push next to it
keeps running. Media pushes have no size limit.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant