-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Disable Workspace Timeout When Running in a Self-Hosted Manner #8528
Comments
A pretty simple fix would be to add a config value to the installer that allows setting the timeout timespan. With that, customers can set an outrageous amount of time as timeout (let's say 1 year or so). Since the extending of timeouts is an enterprise feature, the values are set here: gitpod/components/server/ee/src/user/user-service.ts Lines 25 to 37 in 5b74af7
The In the installer config, I would propose to make clear that it's an enterprise feature that does not have any effect without a proper license (unless we decide that this should not be an enterprise feature anymore for some reason), e.g. by adding a section # changing values of enterprise features are only available with a proper license
enterpriseFeatures:
defaultWorkspaceTimeout: 8760h # 1 year |
@lucasvaltl which timeout are you referring?
|
Thanks for your comment, @kylos101. Didn't know that something like the workspace total runtime timeout exists. As far as I know, it's about the inactivity timeout. However, when they want to run workspaces longer than 36 hours, we need to make the total runtime timeout configurable as well. @lucasvaltl: Could you take care that someone clarifies with the customer the actual use case and how long the workspaces actually need to run? |
@charlevelz: Thanks for your feedback. Could you add more details about your use case? Gitpod is designed to run ephemeral workspaces for software developing tasks. When you say that you're testing services, how exactly do you use Gitpod? |
According to https://www.gitpod.io/self-hosted, we're currently advertising all self-hosted instances without any timeout So, options are:
As I'm currently doing #8328, it makes sense to do this now. Personally, I favour option |
Hi, it would be great if gitpod adopts option 2 (I think it's a yes according to the latest pricing page). But currently we are still unable to modify the timeout option (EE licence required https://github.com/gitpod-io/gitpod/blob/main/components/server/ee/src/workspace/gitpod-server-impl.ts#L295) Do we have an open issue for tracking this? thanks! |
Is your feature request related to a problem? Please describe
I'm having the issue of workspaces timing out and thus shutting down even though I still want to use it.
Describe the behaviour you'd like
Interactive way to change the timeout of a workspace to allow it to run continuously even after a script has finished and/or there is no user input/activity.
Describe alternatives you've considered
Put a sleep at the end of the script, which is more of a hack
Additional context
Connecting to the workspace via SSH & using self-hosted Gitpod
The text was updated successfully, but these errors were encountered: