Skip to content

Commit

Permalink
Merge branch 'fix-http-sync' of https://github.com/moremind/shenyu in…
Browse files Browse the repository at this point in the history
…to fix-http-sync
  • Loading branch information
moremind committed Oct 23, 2023
2 parents 6555ed6 + d3c4624 commit 282d9f8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 282d9f8

Please sign in to comment.