mattermost/server/cmd
Jesse Hallam 72d363f605
MM-63726: Adjust default MaxOpenConns/MaxIdleConns settings (#33593)
* MM-63726: Adjust default MaxOpenConns/MaxIdleConns settings

- Change MaxOpenConns from 300 to 100
- Change MaxIdleConns from 20 to 50
- Establish a healthier 2:1 ratio instead of the previous 15:1
- Remove hardcoded values from config files to use new defaults

* Fix mmctl config test for updated MaxIdleConns default

Update test expectation from 20 to 50 to match the new default
value for SqlSettings.MaxIdleConns that was changed in the previous
commit.
2025-08-11 14:06:12 -03:00
..
mattermost [MM-64654] Migrate to modern Go features (#31820) 2025-07-18 12:54:51 +02:00
mmctl MM-63726: Adjust default MaxOpenConns/MaxIdleConns settings (#33593) 2025-08-11 14:06:12 -03:00