You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2014/04/08 07:44:38 UTC
[Bug 56361] New:
org.apache.tomcat.websocket.WsWebSocketContainer#backgroundProcess() period
should be configurable
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.chung@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 56361]
org.apache.tomcat.websocket.WsWebSocketContainer#backgroundProcess() period
should be configurable
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56361
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org