[Docs]: The documentation mentions a 'custom emoji limit', but in the code this doesn't seem to exist
Before you file a documentation issue
- I have checked the existing documentation issues and have not found one that matches the one I'm filing.
- This issue is about the Mattermost documentation (missing, incorrect, outdated, or unclear content), not a bug in the product itself.
- I have read the contribution guidelines and the Mattermost Handbook Contribution Guidelines.
Documentation URL
https://docs.mattermost.com/administration-guide/configure/site-configuration-settings#emoji
Type of issue
Incorrect or inaccurate content
Describe the issue
The documentation mentions that there can be a maximum of 6000 custom emoji.
As the custom emojis have become a big part of our company culture, recently we tried looking where in the code this limit was set, to potentially open a PR allowing this limit to become a configuration setting: for us, it is likely that we'll hit the limit within the next year and we'd rather have a somewhat slower server than to prune custom emoji.
However, we were unable to find anything in the code. I'd expected some kind of validation to happen as part of the createEmoji code path, but it seems this limit doesn't actually exist (anymore?) in the code. Grepping for the magic number 6000 also doesn't seem to return any code related to emoji.
So our hunch is that this part of the documentation is no longer accurate.
Suggested improvement
If it is indeed the docs that are wrong, the limit could simply be removed from the page.
Additional Information
No response
Source: mattermost/mattermost