https://issues.apache.org/bugzilla/show_bug.cgi?id=56361

            Bug ID: 56361
           Summary: org.apache.tomcat.websocket.WsWebSocketContainer#backg
                    roundProcess() period should be configurable
           Product: Tomcat 8
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebSocket
          Assignee: dev@tomcat.apache.org
          Reporter: bluewolf.ch...@gmail.com

Currently, the period of WebSocketContainer's background process is 10 seconds. 
(org.apache.tomcat.websocket.WsWebSocketContainer#processPeriod is set to 10 by
code)

This applies to the timeout of WebSocket sessions, which it can be configured
by javax.websocket.Session#setMaxIdleTimeout(long milliseconds).

If the developer wants to set the session's timeout less than 10 seconds, for
example 5 seconds, it usually doesn't be expired 5 seconds later.

So I think org.apache.tomcat.websocket.WsWebSocketContainer#processPeriod
should be configurable.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to