The desktop-timeout Element
From Documentation
Syntax:
<desktop-timeout>a_number</desktop-timeout>
[Default: 3600]
It specifies the time, in seconds, between client requests before a desktop is invalidated. A negative time indicates the desktop should never timeout.