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

Removed redundant mutex from migration and used MM migration timeout setting for plugin migration timeout #53

Merged
merged 2 commits into from
Jul 25, 2024

Conversation

harshilsharma63
Copy link
Member

Summary

Applied following changes to migration code-

  1. Removed manually managed mutex as morph already manages itself via the morph.WithLock() function which we're already using.
  2. Removed the hardcoded migration timeout config and used Mattermost's timeout config.

Ticket Link

Fixes https://mattermost.atlassian.net/browse/MM-59845

@harshilsharma63 harshilsharma63 added 2: Dev Review Requires review by a core committer 3: Security Review labels Jul 23, 2024
@esarafianou esarafianou removed their request for review July 24, 2024 08:37
@esarafianou
Copy link

@harshilsharma63 I skimmed through the code and there are no security related changes. No need from a proper review from us.

@hmhealey hmhealey added 3: Reviews Complete All reviewers have approved the pull request and removed 2: Dev Review Requires review by a core committer labels Jul 25, 2024
@harshilsharma63 harshilsharma63 merged commit f0eacab into main Jul 25, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3: Reviews Complete All reviewers have approved the pull request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants