More aggresive discarding of sessions and desktops
This helps to free memory faster. If a page is kept open the timer in the template avoids the session and the desktop to be discarded. FEA: ItEr74S08DeployFramework
This commit is contained in:
parent
939aa1f14a
commit
1ec711ce4c
3 changed files with 4 additions and 4 deletions
|
|
@ -134,8 +134,8 @@
|
|||
</servlet-mapping>
|
||||
|
||||
<session-config>
|
||||
<!-- The session timeout is an hour -->
|
||||
<session-timeout>60</session-timeout>
|
||||
<!-- The session timeout is ten minutes. A timer is used to keep the session alive if there is some open page -->
|
||||
<session-timeout>10</session-timeout>
|
||||
</session-config>
|
||||
|
||||
<welcome-file-list>
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<desktop-config>
|
||||
<!-- seconds it takes between requests for a desktop to be invalidated -->
|
||||
<!-- a timer is introduced to avoid invalidation of pages still open -->
|
||||
<desktop-timeout>60</desktop-timeout>
|
||||
<desktop-timeout>30</desktop-timeout>
|
||||
</desktop-config>
|
||||
|
||||
<session-config>
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ signature="java.lang.Boolean isDefaultPasswordsControl()"?>
|
|||
|
||||
<div xmlns:n="http://www.zkoss.org/2005/zk/native" apply="${templateCtrl}" height="100%">
|
||||
|
||||
<timer repeats="true" running="true" delay="30000" onTimer=""/>
|
||||
<timer repeats="true" running="true" delay="20000" onTimer=""/>
|
||||
<borderlayout height="100%" width="100%" >
|
||||
<north border="none">
|
||||
<n:div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue