Skip to content

Limit DM and channel edge reads to the viewport's batch size - #582

Merged
trissim merged 2 commits into
mainfrom
fix/history-frame-work-20261008
Oct 8, 2026
Merged

trissim merged 2 commits into
mainfrom
fix/history-frame-work-20261008

Conversation

@trissim

@trissim trissim commented Oct 8, 2026 •

Copy link
Copy Markdown

A manual older or newer read in a DM or channel mounted its whole result at once, using the 40-message transport page size. MountedMessageHistory now caps the read at the window's admission_items budget, and still applies the follow-tail window limit. The change is ten lines in mounted_message_history.py.

Copilot AI balanced review requested due to automatic review settings October 8, 2026 16:11

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@trissim
trissim merged commit c2a6213 into main Oct 8, 2026
2 checks passed
@trissim trissim changed the title Bound DM and channel edge reads by viewport admission Limit DM and channel edge reads to the viewport's batch size Oct 11, 2026
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.

2 participants