Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
熊鹏飞
/
xxljob220
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
abb7cbeb
authored
May 10, 2017
by
xueli.xue
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
通讯时间戳超时时间调整为180s;
parent
9213398f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
README.md
xxl-job-core/src/main/java/com/xxl/job/core/rpc/netcom/NetComServerFactory.java
README.md
View file @
abb7cbeb
...
@@ -836,6 +836,7 @@ Tips: 历史版本(V1.3.x)目前已经Release至稳定版本, 进入维护阶段
...
@@ -836,6 +836,7 @@ Tips: 历史版本(V1.3.x)目前已经Release至稳定版本, 进入维护阶段
#### 6.15 版本 V1.7.2 特性(Coding)
#### 6.15 版本 V1.7.2 特性(Coding)
-
1、阻塞处理策略:调度过于密集执行器来不及处理时的处理策略,策略包括:单机串行(默认)、丢弃后续调度、覆盖之前调度;
-
1、阻塞处理策略:调度过于密集执行器来不及处理时的处理策略,策略包括:单机串行(默认)、丢弃后续调度、覆盖之前调度;
-
2、失败处理策略;调度失败时的处理策略,策略包括:失败告警(默认)、失败重试;
-
2、失败处理策略;调度失败时的处理策略,策略包括:失败告警(默认)、失败重试;
-
3、通讯时间戳超时时间调整为180s;
#### TODO LIST
#### TODO LIST
-
1、任务权限管理:执行器为粒度分配权限,核心操作校验权限;
-
1、任务权限管理:执行器为粒度分配权限,核心操作校验权限;
...
...
xxl-job-core/src/main/java/com/xxl/job/core/rpc/netcom/NetComServerFactory.java
View file @
abb7cbeb
...
@@ -49,7 +49,7 @@ public class NetComServerFactory {
...
@@ -49,7 +49,7 @@ public class NetComServerFactory {
RpcResponse
response
=
new
RpcResponse
();
RpcResponse
response
=
new
RpcResponse
();
if
(
System
.
currentTimeMillis
()
-
request
.
getCreateMillisTime
()
>
6
0000
)
{
if
(
System
.
currentTimeMillis
()
-
request
.
getCreateMillisTime
()
>
18
0000
)
{
response
.
setResult
(
new
ReturnT
<
String
>(
ReturnT
.
FAIL_CODE
,
"Timestamp Timeout."
));
response
.
setResult
(
new
ReturnT
<
String
>(
ReturnT
.
FAIL_CODE
,
"Timestamp Timeout."
));
return
response
;
return
response
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment