Che: Keeps going "offline"

Created on 8 Aug 2020  路  3Comments  路  Source: eclipse/che

I am a new user and loving Che. It is a great product. I have it running in Minikube on my Mac.

However, after a short period of inactivity (an hour?), the IDE goes "offline". This is very annoying. When I then restart the workspace, it takes a while to load and then all my open windows, terminal, etc are all gone! Yes, changes to files are not lost, but this is still very annoying.

Is there a way I can disable this time out or at the very least extended it to say 9999 hours? I want it to be always "online".

Thanks!

kinquestion

Most helpful comment

Hello, you could use
server: ... customCheProperties: CHE_LIMITS_WORKSPACE_IDLE_TIMEOUT: '-1'
to disable idle timeout

All 3 comments

Hello, you could use
server: ... customCheProperties: CHE_LIMITS_WORKSPACE_IDLE_TIMEOUT: '-1'
to disable idle timeout

That seems exactly like what I am looking for. Many thanks.

However, how do I implement this custom Che property? I installed Che using "chectl" and the command "chectl server:start --platform=minikube".

Update: I figured out how to add this custom configuration:-

kubectl edit checlusters -n che eclipse-che

Then under spec: server: customCheProperties: add the line CHE_LIMITS_WORKSPACE_IDLE_TIMEOUT: "-1".

Many thanks benoitf, for your help.

Was this page helpful?
0 / 5 - 0 ratings