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
c46b2863
authored
Mar 02, 2019
by
xuxueli
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
update document
parent
6fffec18
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
xxl-job-core/src/main/java/com/xxl/job/core/thread/JobThread.java
xxl-job-core/src/main/java/com/xxl/job/core/thread/JobThread.java
View file @
c46b2863
...
@@ -155,7 +155,10 @@ public class JobThread extends Thread{
...
@@ -155,7 +155,10 @@ public class JobThread extends Thread{
if
(
executeResult
==
null
)
{
if
(
executeResult
==
null
)
{
executeResult
=
IJobHandler
.
FAIL
;
executeResult
=
IJobHandler
.
FAIL
;
}
else
{
}
else
{
executeResult
.
setMsg
((
executeResult
!=
null
&&
executeResult
.
getMsg
().
length
()>
50000
)?
executeResult
.
getMsg
().
substring
(
0
,
50000
).
concat
(
"..."
):
executeResult
.
getMsg
());
executeResult
.
setMsg
(
(
executeResult
!=
null
&&
executeResult
.
getMsg
()!=
null
&&
executeResult
.
getMsg
().
length
()>
50000
)
?
executeResult
.
getMsg
().
substring
(
0
,
50000
).
concat
(
"..."
)
:
executeResult
.
getMsg
());
executeResult
.
setContent
(
null
);
// limit obj size
executeResult
.
setContent
(
null
);
// limit obj size
}
}
XxlJobLogger
.
log
(
"<br>----------- xxl-job job execute end(finish) -----------<br>----------- ReturnT:"
+
executeResult
);
XxlJobLogger
.
log
(
"<br>----------- xxl-job job execute end(finish) -----------<br>----------- ReturnT:"
+
executeResult
);
...
...
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