Skip to content

Use max_select_wait_time to limit IO#select sleep - #25

Merged
mfazekas merged 3 commits into
masterfrom
keepalive-default
Nov 21, 2026
Merged

mfazekas merged 3 commits into
masterfrom
keepalive-default

Conversation

@mfazekas

Copy link
Copy Markdown
Collaborator

Eugene Kenny's change from #17, merged with current master so CI can run (the fork doesn't allow maintainer pushes). With keepalive: true but no keepalive_interval, the select loop had no timeout and never sent keepalives; it now asks each session's max_select_wait_time, so net-ssh's default interval applies.

Closes #17

eugeneius and others added 3 commits March 30, 2016 01:11
Instead of duplicating keepalive interval logic from Net::SSH, we can
ask each session for its max_select_wait_time and use the shortest one.
@mfazekas
mfazekas merged commit bb7d425 into master Nov 21, 2026
10 checks passed
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.

2 participants