users@grizzly.java.net

Re: not sure about this bug

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Tue, 18 Nov 2008 23:01:03 -0500

Salut,

Richard Corsale wrote:
> Hi All,
>
> while I was working on GF 2. I noticed something strange, but it must have been noted before...
>
> I have a CometContext in a singleton, If i set the timeout to -1 it never detects dissconnects.

yes, that's the expected behavior.


so I have set it to 30 Mins and it works as advertisd :). is this a
known Bug?


It is a documentation bugs. Can you file an issue? I will update the
docs and make sure this is properly documented.

Thanks!

--Jeanfrancois

>
> ----------------------------------------------------------------------
> static CometContext cc;
>
> public void addHandler(CometHandler ch){
> cc.setExpirationDelay(60000 * 30);
> cc.addCometHandler(ch);
>
> }
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>