Skip to content

Timing out WebSocket Connection

jfarcand edited this page Feb 6, 2013 · 1 revision

By default, a WebSocket connection will stay open for 5 minutes. To set a timeout, use the following in your web.xml

        <init-param>
            <param-name>org.atmosphere.websocket.maxIdleTime</param-name>
            <param-value>VALUE</param-value>
        </init-param>

The VALUE is in milliseconds.

Step by Step Tutorials

Concepts & Architecture

15 Minutes Tutorial

Advanced Topics

API

Known WebServer Issues

References

External Documentations

githalytics.com alpha

Clone this wiki locally