mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-09-09 20:57:21 +08:00
perf: 使用 CompletableFuture 实现异步加载用户权限、角色代码和角色信息,以提高登录时的性能和响应速度
This commit is contained in:
@@ -55,6 +55,10 @@ continew-starter.thread-pool:
|
||||
queue-capacity: 128
|
||||
# 活跃时间(单位:秒)
|
||||
keep-alive-seconds: 300
|
||||
# 关闭线程池是否等待任务完成
|
||||
wait-for-tasks-to-complete-on-shutdown: true
|
||||
# 执行器在关闭时阻塞的最长毫秒数,以等待剩余任务完成执行(单位:毫秒)
|
||||
await-termination-millis: 30000
|
||||
|
||||
--- ### 接口文档配置
|
||||
springdoc:
|
||||
|
Reference in New Issue
Block a user