Browse Source

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

xueli.xue 8 years ago
parent
commit
abb7cbeb46

+ 1 - 0
README.md View File

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

+ 1 - 1
xxl-job-core/src/main/java/com/xxl/job/core/rpc/netcom/NetComServerFactory.java View File

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