You can modify org/waveprotocol/box/server/rpc/ServerRpcProvider.java

And at lines 304-306 change:

    for (SelectChannelConnector connector : connectors) {

      httpServer.addConnector(connector);

    }
to:

    for (SelectChannelConnector connector : connectors) {

      connector.setMaxIdleTime(0); // Disable connection timeout.

      httpServer.addConnector(connector);

    }

This should disable the timeout completely. If you still want a timeout,
then you can change the 0 to something else (e.g. 3600000 for 1 hours).
If you disable the timeout you will be disabling it for ALL connection (HTTP
and WebSocket) and this will open up you server for a denial of service
attack. You may want to set lowResourcesConnections and
lowResourcesMaxIdleTime to prevent this.

-Tad

On Wed, Dec 15, 2010 at 8:21 AM, faisalbhagat <[email protected]>wrote:

> how i can increase session time out for console client currently it is
> roughly about 5 minutes. i need to increase it for roughly an hour?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Wave Protocol" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<wave-protocol%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/wave-protocol?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Wave 
Protocol" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/wave-protocol?hl=en.

Reply via email to