[ https://issues.apache.org/jira/browse/SCB-198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16315778#comment-16315778 ]
ASF GitHub Bot commented on SCB-198: ------------------------------------ WillemJiang closed pull request #494: [SCB-198] fileupload in linux is too slow, use system default setting i… URL: https://github.com/apache/incubator-servicecomb-java-chassis/pull/494 This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/transports/transport-rest/transport-rest-vertx/src/main/java/io/servicecomb/transport/rest/vertx/RestServerVerticle.java b/transports/transport-rest/transport-rest-vertx/src/main/java/io/servicecomb/transport/rest/vertx/RestServerVerticle.java index 908439ff1..d09bfd6a2 100644 --- a/transports/transport-rest/transport-rest-vertx/src/main/java/io/servicecomb/transport/rest/vertx/RestServerVerticle.java +++ b/transports/transport-rest/transport-rest-vertx/src/main/java/io/servicecomb/transport/rest/vertx/RestServerVerticle.java @@ -46,12 +46,6 @@ private static final String SSL_KEY = "rest.provider"; - private static final int ACCEPT_BACKLOG = 2048; - - private static final int SEND_BUFFER_SIZE = 4096; - - private static final int RECEIVE_BUFFER_SIZE = 4096; - private Endpoint endpoint; private URIEndpointObject endpointObject; @@ -128,9 +122,6 @@ private HttpServer createHttpServer() { private HttpServerOptions createDefaultHttpServerOptions() { HttpServerOptions serverOptions = new HttpServerOptions(); - serverOptions.setAcceptBacklog(ACCEPT_BACKLOG); - serverOptions.setSendBufferSize(SEND_BUFFER_SIZE); - serverOptions.setReceiveBufferSize(RECEIVE_BUFFER_SIZE); serverOptions.setUsePooledBuffers(true); serverOptions.setIdleTimeout(TransportConfig.getConnectionIdleTimeoutInSeconds()); ---------------------------------------------------------------- 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: us...@infra.apache.org > file upload in linux is too slow. > --------------------------------- > > Key: SCB-198 > URL: https://issues.apache.org/jira/browse/SCB-198 > Project: Apache ServiceComb > Issue Type: Bug > Components: Java-Chassis > Reporter: wujimin > Assignee: wujimin > Fix For: java-chassis-1.0.0-m1 > > -- This message was sent by Atlassian JIRA (v6.4.14#64029)