Skip to content
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

Add support for idle-server-timeout and idle-session-timeout #1301

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ritheshjampala
Copy link

Pull Request Summary:

This pull request introduces support for two new flags: --idle-server-timeout and --idle-session-timeout.

Idle Server Timeout (--idle-server-timeout):

This feature enables automatic termination of the ttyd process if no clients are connected for a specified duration (idle-server-timeout).
For instance, setting --idle-server-timeout to 10 seconds indicates that the ttyd process will be terminated if no clients are connected after 10 seconds.

Idle Session Timeout (--idle-session-timeout):

This feature handles inactive sessions by terminating sessions that have had no activity for a specified duration (idle-session-timeout).
For example, setting --idle-session-timeout to 10 seconds indicates that sessions will be terminated if there is no activity for 10 seconds.

@ritheshjampala ritheshjampala changed the title Add support for idle_server_timeout and idle_session_timeout Add support for idle-server-timeout and idle-session-timeout Feb 21, 2024
@tsl0922 tsl0922 force-pushed the main branch 2 times, most recently from c5cac12 to 4dad131 Compare November 26, 2024 15:38
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