Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encapsulate Message Cache in it's own type #3065

Draft
wants to merge 3 commits into
base: next
Choose a base branch
from

Conversation

GnomedDev
Copy link
Member

Draft as based on #3061.

This keeps the invariant (channel ordering and max messages setting) encapsulated and correctly handled, while speeding up message create handling and pushing messages into the cache from edits.

@github-actions github-actions bot added model Related to the `model` module. cache Related to the `cache`-feature. gateway Related to the `gateway` module. examples Related to Serenity's examples. labels Nov 25, 2024
@GnomedDev GnomedDev added the needs-testing A PR that should work, but needs a functional test label Nov 25, 2024
@GnomedDev GnomedDev force-pushed the encapsulate-message-cache branch from fc40056 to 9cd15a5 Compare January 19, 2025 14:39
@github-actions github-actions bot removed model Related to the `model` module. gateway Related to the `gateway` module. examples Related to Serenity's examples. labels Jan 19, 2025
@GnomedDev GnomedDev force-pushed the encapsulate-message-cache branch from 921d17e to dafd4bf Compare January 19, 2025 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cache Related to the `cache`-feature. needs-testing A PR that should work, but needs a functional test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant