Skip to content

[pull] master from mattermost:master#562

Merged
pull[bot] merged 4 commits intocode:masterfrom
mattermost:master
Mar 14, 2026
Merged

[pull] master from mattermost:master#562
pull[bot] merged 4 commits intocode:masterfrom
mattermost:master

Conversation

@pull
Copy link

@pull pull bot commented Mar 14, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

avasconcelos114 and others added 4 commits March 13, 2026 22:32
#35560)

* [MM-67883] Add buttons for Product Switcher to pop into new tabs

* PR feedback

* Fix snaps

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
…5582)

* Add --workers flag to mmctl import process to control concurrency

   The bulk import worker count was hardcoded to runtime.NumCPU(), causing
   high database load on the master during imports on live systems. This is
   particularly impactful for incremental Slack imports where all users are
   re-imported each time, generating 8-15 DB operations per user against
   the master (due to LockToMaster).

   The new --workers flag allows administrators to reduce concurrency
   (e.g., --workers 1) to minimize impact on live users at the cost of
   longer import duration. Defaults to 0 which preserves the existing
   runtime.NumCPU() behavior.

* Add max workers limit, capped at CPU Count * 4
@pull pull bot locked and limited conversation to collaborators Mar 14, 2026
@pull pull bot added the ⤵️ pull label Mar 14, 2026
@pull pull bot merged commit 3e38cbc into code:master Mar 14, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants