[jboss-jira] [JBoss JIRA] (AS7-4226) Async servlet operation timeout check should run more frequently
Martin Kouba (JIRA)
jira-events at lists.jboss.org
Tue Mar 20 05:00:48 EDT 2012
Martin Kouba created AS7-4226:
---------------------------------
Summary: Async servlet operation timeout check should run more frequently
Key: AS7-4226
URL: https://issues.jboss.org/browse/AS7-4226
Project: Application Server 7
Issue Type: Bug
Components: Web
Affects Versions: 7.1.1.Final
Reporter: Martin Kouba
Assignee: Remy Maucherat
Priority: Minor
The async servlet operation timeout check is run approx. every ten seconds. This is not very practical/precise assuming the timeout is specified in milliseconds -> {{javax.servlet.AsyncContext.setTimeout(long)}}.
Not completely sure about the exact time - 10s occures in my simple CDI TCK test). Looking at {{org.apache.tomcat.util.net.JIoEndpoint#Poller.maintain()}} five seconds is hard coded minimum: "Maintain runs at most once every 5s".
I suppose this is intentional and due to performance reasons. If so it should be FAQed or mentioned in docs. Otherwise it should be fixed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list