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
1a274e72
authored
Jul 06, 2019
by
xuxueli
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
任务日志主键调整为long,防止海量日志情况下数据溢出;
parent
02f65c8c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
xxl-job-admin/src/main/java/com/xxl/job/admin/controller/JobLogController.java
xxl-job-core/src/main/java/com/xxl/job/core/biz/model/HandleCallbackParam.java
xxl-job-core/src/test/java/com/xxl/job/core/biz/impl/ExecutorBizImplTest.java
xxl-job-admin/src/main/java/com/xxl/job/admin/controller/JobLogController.java
View file @
1a274e72
...
@@ -134,7 +134,7 @@ public class JobLogController {
...
@@ -134,7 +134,7 @@ public class JobLogController {
@RequestMapping
(
"/logDetailCat"
)
@RequestMapping
(
"/logDetailCat"
)
@ResponseBody
@ResponseBody
public
ReturnT
<
LogResult
>
logDetailCat
(
String
executorAddress
,
long
triggerTime
,
int
logId
,
int
fromLineNum
){
public
ReturnT
<
LogResult
>
logDetailCat
(
String
executorAddress
,
long
triggerTime
,
long
logId
,
int
fromLineNum
){
try
{
try
{
ExecutorBiz
executorBiz
=
XxlJobScheduler
.
getExecutorBiz
(
executorAddress
);
ExecutorBiz
executorBiz
=
XxlJobScheduler
.
getExecutorBiz
(
executorAddress
);
ReturnT
<
LogResult
>
logResult
=
executorBiz
.
log
(
triggerTime
,
logId
,
fromLineNum
);
ReturnT
<
LogResult
>
logResult
=
executorBiz
.
log
(
triggerTime
,
logId
,
fromLineNum
);
...
...
xxl-job-core/src/main/java/com/xxl/job/core/biz/model/HandleCallbackParam.java
View file @
1a274e72
...
@@ -24,7 +24,7 @@ public class HandleCallbackParam implements Serializable {
...
@@ -24,7 +24,7 @@ public class HandleCallbackParam implements Serializable {
return
logId
;
return
logId
;
}
}
public
void
setLogId
(
int
logId
)
{
public
void
setLogId
(
long
logId
)
{
this
.
logId
=
logId
;
this
.
logId
=
logId
;
}
}
...
...
xxl-job-core/src/test/java/com/xxl/job/core/biz/impl/ExecutorBizImplTest.java
View file @
1a274e72
...
@@ -109,7 +109,7 @@ public class ExecutorBizImplTest {
...
@@ -109,7 +109,7 @@ public class ExecutorBizImplTest {
@Test
@Test
public
void
log
(){
public
void
log
(){
final
long
logDateTim
=
0L
;
final
long
logDateTim
=
0L
;
final
int
logId
=
0
;
final
long
logId
=
0
;
final
int
fromLineNum
=
0
;
final
int
fromLineNum
=
0
;
// Act
// Act
...
...
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