-
Notifications
You must be signed in to change notification settings - Fork 7.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MM-57106] Remove unused cluster settings #26490
Conversation
@@ -33,7 +33,7 @@ func TestUpdateConfigRace(t *testing.T) { | |||
|
|||
cfg := &model.Config{} | |||
cfg.SetDefaults() | |||
cfg.ClusterSettings.MaxIdleConns = model.NewInt(1) | |||
cfg.ClusterSettings.GossipPort = model.NewInt(9999) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needed another setting for the test
E2E tests not automatically triggered, because the PR is not in a mergeable state. Please update the branch with the base branch and resolve outstanding conflicts. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Feel good cleanup!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool 👍
/e2e-test |
Successfully triggered E2E testing! |
E2E tests look good. Merging. |
@cwarnermm Heads up that doc updates are required for this PR. Please let me know if you need anything from me. Should be straightforward to move the removed cluster settings to the legacy config page. |
Summary
The settings
StreamingPort
,MaxIdleConns
,MaxIdleConnsPerHost
andIdleConnTimeoutMilliseconds
were unused and had no effect. This PR cleans them up from the codebase.Ticket Link
https://mattermost.atlassian.net/browse/MM-57106
Release Note