@ThiefMaster we’re adding the change you suggested - using a built-time variable to configure limits, making it easier for fork maintainers. You can find the PR for the same at Updated the user limit to make it easier for community forks by harshilsharma63 · Pull Request #26105 · mattermost/mattermost · GitHub
Thanks!