From abb7cbeb466ae4db14ced82b052b76fafbfc4de1 Mon Sep 17 00:00:00 2001 From: "xueli.xue" Date: Wed, 10 May 2017 15:12:25 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=9A=E8=AE=AF=E6=97=B6=E9=97=B4=E6=88=B3?= =?UTF-8?q?=E8=B6=85=E6=97=B6=E6=97=B6=E9=97=B4=E8=B0=83=E6=95=B4=E4=B8=BA?= =?UTF-8?q?180s=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + .../java/com/xxl/job/core/rpc/netcom/NetComServerFactory.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0931dac8..6fcb90a8 100644 --- a/README.md +++ b/README.md @@ -836,6 +836,7 @@ Tips: 历史版本(V1.3.x)目前已经Release至稳定版本, 进入维护阶段 #### 6.15 版本 V1.7.2 特性(Coding) - 1、阻塞处理策略:调度过于密集执行器来不及处理时的处理策略,策略包括:单机串行(默认)、丢弃后续调度、覆盖之前调度; - 2、失败处理策略;调度失败时的处理策略,策略包括:失败告警(默认)、失败重试; +- 3、通讯时间戳超时时间调整为180s; #### TODO LIST - 1、任务权限管理:执行器为粒度分配权限,核心操作校验权限; diff --git a/xxl-job-core/src/main/java/com/xxl/job/core/rpc/netcom/NetComServerFactory.java b/xxl-job-core/src/main/java/com/xxl/job/core/rpc/netcom/NetComServerFactory.java index 9f0aa95f..5bedde5b 100644 --- a/xxl-job-core/src/main/java/com/xxl/job/core/rpc/netcom/NetComServerFactory.java +++ b/xxl-job-core/src/main/java/com/xxl/job/core/rpc/netcom/NetComServerFactory.java @@ -49,7 +49,7 @@ public class NetComServerFactory { RpcResponse response = new RpcResponse(); - if (System.currentTimeMillis() - request.getCreateMillisTime() > 60000) { + if (System.currentTimeMillis() - request.getCreateMillisTime() > 180000) { response.setResult(new ReturnT(ReturnT.FAIL_CODE, "Timestamp Timeout.")); return response; }