Skip to content

Commit

Permalink
通讯时间戳超时时间调整为180s;
Browse files Browse the repository at this point in the history
  • Loading branch information
xueli.xue committed May 10, 2017
1 parent 9213398 commit abb7cbe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -836,6 +836,7 @@ Tips: 历史版本(V1.3.x)目前已经Release至稳定版本, 进入维护阶段
#### 6.15 版本 V1.7.2 特性(Coding)
- 1、阻塞处理策略:调度过于密集执行器来不及处理时的处理策略,策略包括:单机串行(默认)、丢弃后续调度、覆盖之前调度;
- 2、失败处理策略;调度失败时的处理策略,策略包括:失败告警(默认)、失败重试;
- 3、通讯时间戳超时时间调整为180s;
#### TODO LIST
- 1、任务权限管理:执行器为粒度分配权限,核心操作校验权限;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public static RpcResponse invokeService(RpcRequest request, Object serviceBean)

RpcResponse response = new RpcResponse();

if (System.currentTimeMillis() - request.getCreateMillisTime() > 60000) {
if (System.currentTimeMillis() - request.getCreateMillisTime() > 180000) {
response.setResult(new ReturnT<String>(ReturnT.FAIL_CODE, "Timestamp Timeout."));
return response;
}
Expand Down

0 comments on commit abb7cbe

Please sign in to comment.