[jboss-as7-dev] JBossWeb does incorrect async timeout behavior?

Bill Burke bburke at redhat.com
Fri Jun 29 10:23:42 EDT 2012



On 6/29/12 10:09 AM, Remy Maucherat wrote:
> On Fri, 2012-06-29 at 09:10 -0400, Bill Burke wrote:
>> Bah, nevermind...internal JBossWeb timeout was just running slower than
>> the value I passed to suspend.
>
> Ah ok. I never believed IO related timeouts need a precise resolution
> and so they are not checked very often (only once every 5s). So they
> should not be used in place of a timer. The 5s is not configurable, but
> it could be.
>

Ya I agree and that's fine.  I was just testing my jax-rs 2.0 async 
support: timeout test plus trying to resume after a timeout.  My sleeps 
were just too short.


-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com




More information about the jboss-as7-dev mailing list