Compare commits

..

No commits in common. "3aeb20eaa14a382ef9694503371bfb5c0ddb63d8" and "4e2f3c1aac57ffce99d3813417f3822a8735bfc5" have entirely different histories.

2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ public class AdminBizClient implements AdminBiz {
private String addressUrl ;
private String accessToken;
private int timeout = 20;
private int timeout = 3;
@Override

View File

@ -86,7 +86,7 @@ public class XxlJobRemotingUtil {
connection.setDoInput(true);
connection.setUseCaches(false);
connection.setReadTimeout(timeout * 1000);
connection.setConnectTimeout(20 * 1000);
connection.setConnectTimeout(3 * 1000);
connection.setRequestProperty("connection", "Keep-Alive");
connection.setRequestProperty("Content-Type", "application/json;charset=UTF-8");
connection.setRequestProperty("Accept-Charset", "application/json;charset=UTF-8");