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
295fb256
authored
Mar 09, 2018
by
xuxueli
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
文案优化
parent
d02c99df
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
6 deletions
doc/XXL-JOB官方文档.md
xxl-job-core/src/main/java/com/xxl/job/core/rpc/netcom/NetComClientProxy.java
xxl-job-core/src/main/java/com/xxl/job/core/rpc/netcom/jetty/client/JettyClient.java
xxl-job-core/src/main/java/com/xxl/job/core/util/HttpClientUtil.java
doc/XXL-JOB官方文档.md
View file @
295fb256
## 《分
布式任务调度平台XXL-JOB》
## 《分
布式任务调度平台XXL-JOB》
...
...
@@ -1183,6 +1183,7 @@ Tips: 历史版本(V1.3.x)目前已经Release至稳定版本, 进入维护阶段
-
19、提供多版本执行器:不依赖容器版本、不内嵌Jetty版本(通过配置executoraddress替换jetty通讯)等;
-
20、注册中心支持扩展,除默认基于DB之外,支持扩展接入第三方注册中心如zk、eureka等;
-
21、依赖Core内部国际化处理;
-
22、大数据量下任务日志分页优化,时间选择组件支持清空功能可提升速度;
## 七、其他
...
...
xxl-job-core/src/main/java/com/xxl/job/core/rpc/netcom/NetComClientProxy.java
View file @
295fb256
...
...
@@ -58,8 +58,7 @@ public class NetComClientProxy implements FactoryBean<Object> {
// valid response
if
(
response
==
null
)
{
logger
.
error
(
">>>>>>>>>>> xxl-rpc netty response not found."
);
throw
new
Exception
(
">>>>>>>>>>> xxl-rpc netty response not found."
);
throw
new
Exception
(
"Network request fail, response not found."
);
}
if
(
response
.
isError
())
{
throw
new
RuntimeException
(
response
.
getError
());
...
...
xxl-job-core/src/main/java/com/xxl/job/core/rpc/netcom/jetty/client/JettyClient.java
View file @
295fb256
...
...
@@ -29,7 +29,7 @@ public class JettyClient {
byte
[]
responseBytes
=
HttpClientUtil
.
postRequest
(
reqURL
,
requestBytes
);
if
(
responseBytes
==
null
||
responseBytes
.
length
==
0
)
{
RpcResponse
rpcResponse
=
new
RpcResponse
();
rpcResponse
.
setError
(
"RpcResponse byte[] is null"
);
rpcResponse
.
setError
(
"
Network request fail,
RpcResponse byte[] is null"
);
return
rpcResponse
;
}
...
...
@@ -40,7 +40,7 @@ public class JettyClient {
logger
.
error
(
e
.
getMessage
(),
e
);
RpcResponse
rpcResponse
=
new
RpcResponse
();
rpcResponse
.
setError
(
"
Client-error:
"
+
e
.
getMessage
());
rpcResponse
.
setError
(
"
Network request error:
"
+
e
.
getMessage
());
return
rpcResponse
;
}
}
...
...
xxl-job-core/src/main/java/com/xxl/job/core/util/HttpClientUtil.java
View file @
295fb256
...
...
@@ -64,7 +64,6 @@ public class HttpClientUtil {
EntityUtils
.
consume
(
entity
);
}
}
catch
(
Exception
e
)
{
logger
.
error
(
e
.
getMessage
(),
e
);
throw
e
;
}
finally
{
httpPost
.
releaseConnection
();
...
...
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