Skip to content
This repository was archived by the owner on Nov 5, 2025. It is now read-only.

[IMPROVE] Split app removal process#428

Merged
d-gubert merged 1 commit into
alphafrom
improve/split-removal-process
Jun 22, 2021
Merged

[IMPROVE] Split app removal process#428
d-gubert merged 1 commit into
alphafrom
improve/split-removal-process

Conversation

@d-gubert

@d-gubert d-gubert commented Jun 18, 2021

Copy link
Copy Markdown
Member

What? ⛵

Splits the process of removing an app from the Apps-Engine in two parts: remove it from the DB and then remove the instantiated class from the set of apps in the manager

Why? 🤔

This allows us to make different calls in Rocket.Chat, calling the whole removal process when the user clicks the "Uninstall" button, but only removing the app instance from the local server memory when it receives a notification that an app has been uninstalled in the cluster

Links 🌎

PS 👀

@d-gubert d-gubert changed the title Split removal process [IMPROVE] Split app removal process Jun 18, 2021
@d-gubert d-gubert requested a review from shiqimei June 18, 2021 20:12
@d-gubert d-gubert merged commit 18d7e76 into alpha Jun 22, 2021
@d-gubert d-gubert deleted the improve/split-removal-process branch June 22, 2021 14:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants