Skip to content

Conversation

@prwhelan
Copy link
Member

@prwhelan prwhelan commented Feb 24, 2025

Reduced connect timeout from system default to a system configurable setting that defaults to 5s. This value controls the time waiting for a connection to be established.

Increased EIS auth token timeout from 30s to 1m.

Reduced connection timeout from infinite to a system configurable
setting that defaults to 5s.

Increased EIS auth token timeout from 30s to 1m.
@prwhelan prwhelan added >bug :ml Machine learning Team:ML Meta label for the ML team auto-backport Automatically create backport pull requests when merged v9.0.0 v8.18.0 v8.18.1 v8.19.0 v9.0.1 v9.1.0 labels Feb 24, 2025
@elasticsearchmachine
Copy link
Collaborator

Hi @prwhelan, I've created a changelog YAML for you.

@prwhelan prwhelan marked this pull request as ready for review February 24, 2025 14:52
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/ml-core (Team:ML)

Setting.Property.Dynamic
);

public static final Setting<TimeValue> CONNECTION_TIMEOUT = Setting.timeSetting(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this need to be added to getSettingsDefinitions?

Setting.Property.Dynamic
);

public static final Setting<TimeValue> CONNECTION_TIMEOUT = Setting.timeSetting(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about we move this into HttpSettings. I don't think we need to add a addSettingsUpdateConsumer because we'd have to close the client and recreate it but I think that class was for the settings for the client.

@prwhelan prwhelan enabled auto-merge (squash) February 24, 2025 16:51
@prwhelan prwhelan merged commit 4c3ceae into elastic:main Feb 24, 2025
17 checks passed
prwhelan added a commit to prwhelan/elasticsearch that referenced this pull request Feb 24, 2025
Reduced connection timeout from infinite to a system configurable
setting that defaults to 5s.

Increased EIS auth token timeout from 30s to 1m.
prwhelan added a commit to prwhelan/elasticsearch that referenced this pull request Feb 24, 2025
Reduced connection timeout from infinite to a system configurable
setting that defaults to 5s.

Increased EIS auth token timeout from 30s to 1m.
prwhelan added a commit to prwhelan/elasticsearch that referenced this pull request Feb 24, 2025
Reduced connection timeout from infinite to a system configurable
setting that defaults to 5s.

Increased EIS auth token timeout from 30s to 1m.
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
9.0
8.18
8.x

elasticsearchmachine pushed a commit that referenced this pull request Feb 24, 2025
Reduced connection timeout from infinite to a system configurable
setting that defaults to 5s.

Increased EIS auth token timeout from 30s to 1m.
elasticsearchmachine pushed a commit that referenced this pull request Feb 24, 2025
Reduced connection timeout from infinite to a system configurable
setting that defaults to 5s.

Increased EIS auth token timeout from 30s to 1m.
elasticsearchmachine pushed a commit that referenced this pull request Feb 24, 2025
Reduced connection timeout from infinite to a system configurable
setting that defaults to 5s.

Increased EIS auth token timeout from 30s to 1m.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Automatically create backport pull requests when merged >bug :ml Machine learning Team:ML Meta label for the ML team v8.18.0 v8.18.1 v8.19.0 v9.0.0 v9.0.1 v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants