diff --git a/shenyu-common/src/main/java/org/apache/shenyu/common/constant/HttpConstants.java b/shenyu-common/src/main/java/org/apache/shenyu/common/constant/HttpConstants.java index 52412d855145..631fe3b71371 100644 --- a/shenyu-common/src/main/java/org/apache/shenyu/common/constant/HttpConstants.java +++ b/shenyu-common/src/main/java/org/apache/shenyu/common/constant/HttpConstants.java @@ -34,12 +34,12 @@ public final class HttpConstants { /** * The maximum timeout of server block is 60s. */ - public static final long SERVER_MAX_HOLD_TIMEOUT = TimeUnit.SECONDS.toMillis(30); + public static final long SERVER_MAX_HOLD_TIMEOUT = TimeUnit.SECONDS.toMillis(5); /** * Default connection timeout is 10s. */ - public static final long CLIENT_POLLING_CONNECT_TIMEOUT = TimeUnit.SECONDS.toMillis(90); + public static final long CLIENT_POLLING_CONNECT_TIMEOUT = TimeUnit.SECONDS.toMillis(10); /** * Default write timeout is 90s.