hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HTTPCORE-63) Make timeout check interval configurable in DefaultConnectingIOReactor
Date Fri, 30 Mar 2007 14:56:25 GMT

    [ 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:


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.


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: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org

View raw message