Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
N
new-project
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
binfast
new-project
Commits
c123887c
Commit
c123887c
authored
Oct 24, 2025
by
刘斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 升级核心包1.2.0
parent
a310388a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
46 additions
and
7 deletions
+46
-7
application-dev.yml
admin/src/main/resources/application-dev.yml
+4
-3
application.yml
admin/src/main/resources/application.yml
+40
-2
pom.xml
pom.xml
+2
-2
No files found.
admin/src/main/resources/application-dev.yml
View file @
c123887c
...
...
@@ -22,9 +22,10 @@ spring:
file
:
classpath:redisson-dev.yml
logging
:
level
:
# org.springframework.web: trace
org.springframework.security
:
trace
org.springframework.security.oauth2
:
debug
top.binfast
:
info
org.springframework
:
warn
org.mybatis.spring.mapper
:
error
org.apache.fury
:
warn
config
:
classpath:logback-spring-dev.xml
springdoc
:
...
...
admin/src/main/resources/application.yml
View file @
c123887c
...
...
@@ -4,19 +4,37 @@ server:
context-path
:
/api
# 开启优雅停机,默认值:immediate 为立即关闭
shutdown
:
graceful
# undertow 配置
undertow
:
# HTTP post内容的最大大小。当值为-1时,默认值为大小是无限的
max-http-post-size
:
-1
# 以下的配置会影响buffer,这些buffer会用于服务器连接的IO操作,有点类似netty的池化内存管理
# 每块buffer的空间大小,越小的空间被利用越充分
buffer-size
:
512
# 是否分配的直接内存
direct-buffers
:
true
threads
:
# 设置IO线程数, 它主要执行非阻塞的任务,它们会负责多个连接, 默认设置每个CPU核心一个线程
io
:
8
# 阻塞任务线程池, 当执行类似servlet请求阻塞操作, undertow会从这个线程池中取得线程,它的值设置取决于系统的负载
worker
:
256
spring
:
profiles
:
active
:
dev
application
:
name
:
binfast-admin
threads
:
# 开启虚拟线程 仅jdk21可用
virtual
:
enabled
:
true
task
:
execution
:
# 从 springboot 3.5 开始 spring自带线程池
# 不再需要 AsyncConfig与ThreadPoolConfig 可直接注入线程池使用
thread-name-prefix
:
async-
# 由spring自己初始化线程池
mode
:
force
# 由spring自己初始化线程池
mode
:
force
jackson
:
date-format
:
yyyy-MM-dd HH:mm:ss
time-zone
:
GMT+8
...
...
@@ -29,6 +47,14 @@ spring:
# redisson:
# config: classpath:redisson.yml
# 用户配置
user
:
password
:
# 密码最大错误次数
maxRetryCount
:
5
# 密码锁定时间(默认10分钟)
lockTime
:
10
---
# Actuator 监控端点的配置项
management
:
endpoints
:
...
...
@@ -150,6 +176,18 @@ thread-pool:
enabled
:
true
trace
:
true
captcha
:
# 是否启用验证码校验
enable
:
false
# 验证码类型 math 数组计算 char 字符验证
type
:
MATH
# line 线段干扰 circle 圆圈干扰 shear 扭曲干扰
category
:
CIRCLE
# 数字验证码位数
numberLength
:
1
# 字符验证码长度
charLength
:
4
---
# 默认/推荐使用sse推送
sse
:
enabled
:
true
...
...
pom.xml
View file @
c123887c
...
...
@@ -9,13 +9,13 @@
<packaging>
pom
</packaging>
<properties>
<java.version>
17
</java.version>
<java.version>
21
</java.version>
<spring-boot.version>
3.5.6
</spring-boot.version>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<project.reporting.outputEncoding>
UTF-8
</project.reporting.outputEncoding>
<maven-jar-plugin.version>
3.4.2
</maven-jar-plugin.version>
<maven-compiler-plugin.version>
3.14.0
</maven-compiler-plugin.version>
<binfast.version>
1.
1.9
</binfast.version>
<binfast.version>
1.
2.0
</binfast.version>
</properties>
<modules>
...
...
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