Skip to content

I/R: Pass max_connections through PIDE protocol#199

Merged
hanno-becker merged 1 commit intomainfrom
iq_connection_resilience
Mar 27, 2026
Merged

I/R: Pass max_connections through PIDE protocol#199
hanno-becker merged 1 commit intomainfrom
iq_connection_resilience

Conversation

@hanno-becker
Copy link
Copy Markdown
Contributor

@hanno-becker hanno-becker commented Mar 26, 2026

ML_Repl now reports max_connections alongside port and token in the
IR_Repl.port protocol message. IQExploreDockable passes it as --pool-size
to repl.py, preventing the pool from exceeding the ML connection limit.

Pool creation is now best-effort with a 5s connect timeout per connection:
failed connections are skipped and logged, only failing if zero succeed.
The probe connection is also closed before pool creation to free a slot

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@hanno-becker hanno-becker marked this pull request as ready for review March 27, 2026 05:32
…n resilient

ML_Repl now reports max_connections alongside port and token in the
IR_Repl.port protocol message. IQExploreDockable passes it as --pool-size
to repl.py, preventing the pool from exceeding the ML connection limit.

Pool creation is now best-effort with a 5s connect timeout per connection:
failed connections are skipped and logged, only failing if zero succeed.
The probe connection is also closed before pool creation to free a slot

Signed-off-by: Hanno Becker <beckphan@amazon.co.uk>
@hanno-becker hanno-becker force-pushed the iq_connection_resilience branch from 89bdea1 to aba7769 Compare March 27, 2026 05:32
@hanno-becker hanno-becker changed the title I/R: Pass max_connections through PIDE protocol and make pool creatio… I/R: Pass max_connections through PIDE protocol Mar 27, 2026
@hanno-becker hanno-becker merged commit 45990c3 into main Mar 27, 2026
12 checks passed
@hanno-becker hanno-becker deleted the iq_connection_resilience branch March 27, 2026 16:00
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.

1 participant