how to disable monitor for my app definition #405
-
|
hi, how to define this for disable it, I set timeoutAfter to 0 still not work. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
First of all, there are currently two ways a session may be shut down by the framework. The first is the (optional) The second is the (optional) Please also note that both mechanisms can be active at the same time. |
Beta Was this translation helpful? Give feedback.


First of all, there are currently two ways a session may be shut down by the framework.
The first is the (optional)
timeoutproperty on an app definition:https://theia-cloud.io/documentation/addapplication/#add-an-app-definition
This enforces a hard shutdown after the specified time in minutes. You can disable this by setting it to 0, a negative value, or simply leaving it out of your App Definition.
The second is the (optional)
monitorcomponent, which may shut down sessions if they are no longer in use.To enable this, you need to include a component that Theia Cloud can communicate with inside your application:
https://theia-cloud.io/documentation/addapplication/#enable-monitor-optional
…