Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Feat]: cull_idle_timeout mechanism requirement #5008

Copy link
Copy link
@ycsong1212

Description

@ycsong1212
Issue body actions

What is your suggestion?

Maybe cull_idle_timeout mechanism should be provided. If there hasn't been an active connection to code-server in X minutes, we should exit with status 0. It has been mentioned in #1636 @nhooyr

Why do you want this feature?

I am working on develop online VSCode support by code-server. To enhance the resource utilization rate, I require cull-idle-timeout mechanism. If users do not use for a period of time, I hope the container killed. According to the doc, code-server provides the heartbeat mechanism. If I keep the WebPage on but do nothing, the time of heartbeat will be updated every minute. This is not what I want.

Others

I have seen that such feature is referred like issue #1636. However, I failed to launch with --idle-timeout args. I want to confirm if such function is supported right now? If not, is there any methods to support my requirement? I'll appreciate it if someone could help.

avsthiago, petervandenabeele, cedriccuypers, tobycm, kz33 and 2 more

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew user visible featureNew user visible feature

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.