Quellcode durchsuchen

通讯时间戳超时时间调整为180s;

xueli.xue vor 8 Jahren
Ursprung
Commit
abb7cbeb46

+ 1 - 0
README.md Datei anzeigen

@@ -836,6 +836,7 @@ Tips: 历史版本(V1.3.x)目前已经Release至稳定版本, 进入维护阶段
836 836
 #### 6.15 版本 V1.7.2 特性(Coding)
837 837
 - 1、阻塞处理策略:调度过于密集执行器来不及处理时的处理策略,策略包括:单机串行(默认)、丢弃后续调度、覆盖之前调度;
838 838
 - 2、失败处理策略;调度失败时的处理策略,策略包括:失败告警(默认)、失败重试;
839
+- 3、通讯时间戳超时时间调整为180s;
839 840
 
840 841
 #### TODO LIST
841 842
 - 1、任务权限管理:执行器为粒度分配权限,核心操作校验权限;

+ 1 - 1
xxl-job-core/src/main/java/com/xxl/job/core/rpc/netcom/NetComServerFactory.java Datei anzeigen

@@ -49,7 +49,7 @@ public class NetComServerFactory  {
49 49
 
50 50
 		RpcResponse response = new RpcResponse();
51 51
 
52
-		if (System.currentTimeMillis() - request.getCreateMillisTime() > 60000) {
52
+		if (System.currentTimeMillis() - request.getCreateMillisTime() > 180000) {
53 53
 			response.setResult(new ReturnT<String>(ReturnT.FAIL_CODE, "Timestamp Timeout."));
54 54
 			return response;
55 55
 		}