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

Roomlogs: Use Redis to store scrollback #8545

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

mia-pi-git
Copy link
Member

@mia-pi-git mia-pi-git commented Nov 29, 2021

This PR abstracts out scrollback storage into a class implementing an interface - currently, we support both in-memory and Redis. Promises have been propagated accordingly (though I avoided propagating in Roomlog#add due to the level of traffic in it).
(Apologies if there are test failures originally, my ESLint was crashing on this fsr, so I couldn't lint.)
Closes #3341.

@mia-pi-git mia-pi-git requested a review from KrisXV as a code owner November 29, 2021 00:45
@mia-pi-git
Copy link
Member Author

Oh, it should also be noted that this means scrollbacks will persist through restarts.

@mia-pi-git mia-pi-git requested a review from Zarel November 29, 2021 00:51
@mia-pi-git mia-pi-git force-pushed the redis branch 6 times, most recently from 541454f to 5238071 Compare November 29, 2021 02:50
Copy link
Collaborator

@AnnikaCodes AnnikaCodes left a comment

Choose a reason for hiding this comment

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

LGTM

@AnnikaCodes
Copy link
Collaborator

Checks are failing and there are merge conflicts :[

@AnnikaCodes
Copy link
Collaborator

Also @Zarel do you have thoughts on this?

@AnnikaCodes
Copy link
Collaborator

This needs the merge conflicts to be resolved and a review from @Zarel.

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.

Redis!
2 participants