mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 이희승 "(Trustin Lee)" <trus...@gmail.com>
Subject Re: NioProcessor select(..) question
Date Wed, 13 Feb 2008 04:56:59 GMT
The 1 second here is to detect idle sessions, because the granularity of
idle time is 1 second for now.  We could change that though.

2008-02-05 (화), 09:25 +0100, Julien Vermillard 쓰시길:
> In NioProcessor .java you got the following select implementation :
> 
> @Override
> protected boolean select(int timeout) throws Exception {
>    return selector.select(1000) > 0;
> }
> 
> The hard-coded 1 sec value smell fishy, it's normal ? if so I think
> I'll place a comment for indicate it's not a mistake.
> 
> Julien
-- 
what we call human nature is actually human habit
--
http://gleamynode.net/

Mime
View raw message