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

[FIX] loadOne doesn't fetch app data from database #621

Merged
merged 3 commits into from
May 9, 2023

Conversation

d-gubert
Copy link
Member

@d-gubert d-gubert commented May 9, 2023

What? ⛵

Added a new method addLocal which is the correspondent version of add that will load an app from the database and start it up.

Why? 🤔

Previously the loadOne method was used to load apps when an instance of Rocket.Chat received a notification that an app had been installed somewhere else in the cluster. However, due to changes to this method, it was actually breaking this flow. The new method is added to provide the lost functionality

Links 🌎

PS 👀

Rocket.Chat PR with implementation: RocketChat/Rocket.Chat#29180

@d-gubert d-gubert merged commit 24eee9c into alpha May 9, 2023
@d-gubert d-gubert deleted the fix/app-cluster-inconsistent-status branch May 9, 2023 16:56
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