[ 
https://issues.apache.org/jira/browse/HTTPCORE-63?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12485521
 ] 

Oleg Kalnichevski commented on HTTPCORE-63:
-------------------------------------------

Anders, 

Do you think an ability to set the timeoutCheckInterval with the setter would 
be useful? If so, consider the following change to your patch

public void setTimeoutCheckInterval(int timeoutCheckInterval) {
  this.timeoutCheckInterval = timeoutCheckInterval;
  // iterate through the lost of I/O event dispatchers
  // set timeoutCheckInterval
}

You may also want to wake up the selector at this point to make sure the new 
timeoutCheckInterval value takes effect immediately.

Oleg

PS: which patch do you want me to apply, timeoutCheckInterval.patch or 
timeoutCheckInterval1.patch, or both?

> Make timeout check interval configurable in DefaultConnectingIOReactor
> ----------------------------------------------------------------------
>
>                 Key: HTTPCORE-63
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-63
>             Project: HttpComponents Core
>          Issue Type: Improvement
>          Components: HttpCore NIO
>    Affects Versions: 4.0-alpha4
>            Reporter: Anders Wallgren
>             Fix For: 4.0-alpha5
>
>         Attachments: timeoutCheckInterval.patch, timeoutCheckInterval1.patch
>
>
> I would like to be able to configure the timeout check interval in 
> DefaultConnectingIOReactor -- currently, it's wired at once-per-second.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to