Skip to content

Add a pool maxsize and remove superfluous connection method#245

Merged
wpears merged 2 commits into
mainfrom
pool-maxsize
Jun 16, 2026
Merged

Add a pool maxsize and remove superfluous connection method#245
wpears merged 2 commits into
mainfrom
pool-maxsize

Conversation

@wpears

@wpears wpears commented Jun 16, 2026

Copy link
Copy Markdown
Member

Adds a pool_maxsize so that we don't get the default pool size of 1.

Also, we don't use AWS4Auth in any current scenario, so that's been removed.

@wpears wpears requested a review from higs4281 June 16, 2026 17:56
@wpears wpears merged commit d591ce2 into main Jun 16, 2026
2 checks passed
@wpears wpears deleted the pool-maxsize branch June 16, 2026 18:01
f"http://{host}:{_ES_PORT}",
use_ssl=(str(_ES_PORT) == "443"),
timeout=100,
pool_maxsize=10

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Didn't want to add an ES_POOL_MAXSIZE environment variable that defaults to 10?

@wpears wpears Jun 16, 2026

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

That certainly would have been a nice, tunable thing :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants