Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
tool
/
xxl-job
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 3b169338
authored
Dec 07, 2025
by
xuxueli
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
执行器删除逻辑优化,删除时一并清理注册表数据,避免小概率情况下注册数据堆积(ISSUE-3669);
1 parent
4f53622b
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
39 additions
and
18 deletions
doc/XXL-JOB官方文档.md
pom.xml
xxl-job-admin/src/main/java/com/xxl/job/admin/web/error/WebErrorPageRegistrar.java
xxl-job-executor-samples/xxl-job-executor-sample-springboot-ai/Dockerfile
xxl-job-executor-samples/xxl-job-executor-sample-springboot-ai/pom.xml
xxl-job-executor-samples/xxl-job-executor-sample-springboot/Dockerfile
doc/XXL-JOB官方文档.md
View file @
3b16933
...
...
@@ -2697,11 +2697,14 @@ public void execute() {
-
a、本次升级数据模型向前兼容,v3.2.
*
版本可直接升级不需要进行数据库表调整;
-
b、本次升级针对客户端rollinglog依赖字段做规范约束,如不关注该功能 v2.4.
*
及后续版本客户端不需要升级/可兼容,否则需要升级客户端版本;
### 7.42 版本 v3.3.1 Release Notes[
ING
]
-
1、【
修复】调度组件事务代码优化,修复DB超时等小概率情况下调度终止问题
;
-
2、【修复】
合并PR-3869,修复底层通讯超时设置无效
问题;
-
3、【
新增】新增“执行器启用开关”配置项(xxl.job.executor.enabled),默认开启,关闭时不进行执行器初始化
;
### 7.42 版本 v3.3.1 Release Notes[
2025-12-06
]
-
1、【
新增】新增“执行器启用开关”配置项(xxl.job.executor.enabled),默认开启,关闭时不进行执行器初始化
;
-
2、【修复】
调度组件事务代码调整,修复DB超时等小概率情况下调度终止
问题;
-
3、【
修复】合并PR-3869,修复底层通讯超时设置无效问题
;
-
4、【优化】执行器删除逻辑优化,删除时一并清理注册表数据,避免小概率情况下注册数据堆积(ISSUE-3669);
-
5、【升级】调度中心升级至 SpringBoot4;升级多项maven依赖至较新版本,如 mybatis、groovy 等;
### 7.43 版本 v3.3.2 Release Notes[ING]
-
5、【TODO】任务调度触发后分批批量更新,提升调度性能;
...
...
pom.xml
View file @
3b16933
...
...
@@ -26,7 +26,7 @@
<maven.test.skip>
true
</maven.test.skip>
<!-- plugin -->
<maven-compiler-plugin.version>
3.14.1
</maven-compiler-plugin.version>
<maven-source-plugin.version>
3.
3.1
</maven-source-plugin.version>
<maven-source-plugin.version>
3.
4.0
</maven-source-plugin.version>
<maven-javadoc-plugin.version>
3.12.0
</maven-javadoc-plugin.version>
<maven-gpg-plugin.version>
3.2.8
</maven-gpg-plugin.version>
<central-publishing-maven-plugin.version>
0.9.0
</central-publishing-maven-plugin.version>
...
...
@@ -38,10 +38,10 @@
<jakarta.annotation-api.version>
3.0.0
</jakarta.annotation-api.version>
<!-- spring -->
<spring-boot.version>
3.5.8
</spring-boot.version>
<spring.version>
6.2.14
</spring.version>
<spring-boot.version>
4.0.0
</spring-boot.version>
<spring.version>
7.0.1
</spring.version>
<!-- mybatis & db -->
<mybatis-spring-boot-starter.version>
3.0.5
</mybatis-spring-boot-starter.version>
<mybatis-spring-boot-starter.version>
4.0.0
</mybatis-spring-boot-starter.version>
<mysql-connector-j.version>
9.5.0
</mysql-connector-j.version>
<!-- net -->
...
...
@@ -49,7 +49,7 @@
<gson.version>
2.13.2
</gson.version>
<!-- groovy -->
<groovy.version>
5.0.
2
</groovy.version>
<groovy.version>
5.0.
3
</groovy.version>
<!-- xxl-sso (+xxl-tool、gson) -->
<xxl-sso.version>
2.2.0
</xxl-sso.version>
...
...
xxl-job-admin/src/main/java/com/xxl/job/admin/web/error/WebErrorPageRegistrar.java
View file @
3b16933
package
com
.
xxl
.
job
.
admin
.
web
.
error
;
import
org.springframework.boot.web.
serve
r.ErrorPage
;
import
org.springframework.boot.web.
serve
r.ErrorPageRegistrar
;
import
org.springframework.boot.web.
serve
r.ErrorPageRegistry
;
import
org.springframework.boot.web.
erro
r.ErrorPage
;
import
org.springframework.boot.web.
erro
r.ErrorPageRegistrar
;
import
org.springframework.boot.web.
erro
r.ErrorPageRegistry
;
import
org.springframework.stereotype.Component
;
/**
...
...
xxl-job-executor-samples/xxl-job-executor-sample-springboot-ai/Dockerfile
View file @
3b16933
# base image
FROM
openjdk:21-jdk-slim
# maintainer
MAINTAINER
xuxueli
ENV
LOG_HOME=/data/applog
s
# set param
s
ENV
PARAMS=""
# set timezone
ENV
TZ=PRC
RUN
ln -snf /usr/share/zoneinfo/
$TZ
/etc/localtime
&&
echo
$TZ
> /etc/timezone
# copy jar
ADD
target/xxl-job-executor-sample-springboot-ai*.jar /app.jar
ENTRYPOINT
["sh","-c","java -DLOG_HOME=$LOG_HOME -jar $JAVA_OPTS /app.jar $PARAMS"]
\ No newline at end of file
# command
# log home: -e LOG_HOME=/data/applogs
# jvm options: -e JAVA_OPTS="-Xms128m -Xmx128m"
# app params: -e PARAMS="--server.port=8080"
ENTRYPOINT
["sh","-c","java ${LOG_HOME:+-DLOG_HOME=$LOG_HOME} -jar $JAVA_OPTS /app.jar $PARAMS"]
\ No newline at end of file
xxl-job-executor-samples/xxl-job-executor-sample-springboot-ai/pom.xml
View file @
3b16933
...
...
@@ -16,8 +16,8 @@
<url>
https://www.xuxueli.com/
</url>
<properties>
<spring-ai.version>
1.1.
0
</spring-ai.version>
<dify-java-client.version>
1.2.
2
</dify-java-client.version>
<spring-ai.version>
1.1.
1
</spring-ai.version>
<dify-java-client.version>
1.2.
3
</dify-java-client.version>
</properties>
<dependencyManagement>
...
...
xxl-job-executor-samples/xxl-job-executor-sample-springboot/Dockerfile
View file @
3b16933
# base image
FROM
openjdk:21-jdk-slim
# maintainer
MAINTAINER
xuxueli
ENV
LOG_HOME=/data/applog
s
# set param
s
ENV
PARAMS=""
# set timezone
ENV
TZ=PRC
RUN
ln -snf /usr/share/zoneinfo/
$TZ
/etc/localtime
&&
echo
$TZ
> /etc/timezone
# copy jar
ADD
target/xxl-job-executor-sample-springboot-*.jar /app.jar
ENTRYPOINT
["sh","-c","java -DLOG_HOME=$LOG_HOME -jar $JAVA_OPTS /app.jar $PARAMS"]
\ No newline at end of file
# command
# log home: -e LOG_HOME=/data/applogs
# jvm options: -e JAVA_OPTS="-Xms128m -Xmx128m"
# app params: -e PARAMS="--server.port=8080"
ENTRYPOINT
["sh","-c","java ${LOG_HOME:+-DLOG_HOME=$LOG_HOME} -jar $JAVA_OPTS /app.jar $PARAMS"]
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
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 post a comment