make maximum number of channels per team configurable
Currently, the maximum number of channels per team is hardcoded to 1000.
It'd be nice if this were configurable, much like MaxUsersPerTeam
is.
Thank you Noah for nominating the feature! It is available in Mattermost 3.5.
Would anyone like to help re-tweet the announcement? https://twitter.com/mattermosthq/status/798922415690498050
-
We had a community PR that made channel limits configurable for Mattermost 3.5: https://github.com/mattermost/platform/pull/4154
However, it looks like we accidentally left the hard-coded limit at 20,000.. Ticket here to fix in 3.6: https://mattermost.atlassian.net/browse/PLT-4822
-
Noah Easterly commented
Uhm, really? Because it looks like it's just hardcoded to 2000 now.
https://github.com/mattermost/platform/blob/v3.5.0/store/sql_channel_store.go#L190
-
Noah Easterly commented
I've already tossed together the code necessary to implement this feature, and I'd be happy to make it into a pull request.