[
https://issues.apache.org/jira/browse/SCB-887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16603785#comment-16603785
]
ASF GitHub Bot commented on SCB-887:
------------------------------------
wujimin commented on a change in pull request #891: [SCB-887]aysnc servlet
timeout is too short and may block container pool when tasks are timeout
URL:
https://github.com/apache/incubator-servicecomb-java-chassis/pull/891#discussion_r215108346
##########
File path:
transports/transport-highway/src/main/java/org/apache/servicecomb/transport/highway/HighwayConfig.java
##########
@@ -18,13 +18,26 @@
package org.apache.servicecomb.transport.highway;
import com.netflix.config.DynamicIntProperty;
+import com.netflix.config.DynamicLongProperty;
import com.netflix.config.DynamicPropertyFactory;
import com.netflix.config.DynamicStringProperty;
public final class HighwayConfig {
private HighwayConfig() {
}
+ public static final String KEY_SERVICECOMB_REQUEST_WAIT_IN_POOL_TIMEOUT =
"servicecomb.highway.server.requestWaitInPoolTimeout";
Review comment:
maybe no need to 2 different config item for this?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> aysnc servlet timeout is too short and may block container pool when tasks
> are timeout
> --------------------------------------------------------------------------------------
>
> Key: SCB-887
> URL: https://issues.apache.org/jira/browse/SCB-887
> Project: Apache ServiceComb
> Issue Type: Improvement
> Components: Java-Chassis
> Affects Versions: java-chassis-1.0.0
> Reporter: liubao
> Assignee: liubao
> Priority: Major
>
> # aysnc servlet timeout is too short, and this is not applicable for time
> consuming tasks.
> # If setting timeout too long, may block container pool and time out
> requests in queue get executed
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)