添加异步线程池配置.

This commit is contained in:
lijiahang
2023-07-11 11:00:46 +08:00
parent 646b73a7a3
commit 0890c47871
9 changed files with 248 additions and 9 deletions

View File

@@ -2,6 +2,7 @@ package com.orion.ops.launch.controller;
import com.orion.ops.framework.common.annotation.RestWrapper;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@@ -13,6 +14,7 @@ import org.springframework.web.bind.annotation.RestController;
* @version 1.0.0
* @since 2023/6/19 17:08
*/
@Tag(name = "launch - 启动服务")
@RestWrapper
@RestController
@RequestMapping("/server/bootstrap")

View File

@@ -33,16 +33,17 @@ springdoc:
knife4j:
enable: false
logging:
printer:
mode: ROW
orion:
logging:
printer:
mode: ROW
crypto:
aes:
enabled: true
working-mode: ECB
padding-mode: PKCS5_PADDING
# 加密秘钥
secret-key: uQeacXV8b3isvKLK
generator-key: true
thread:
pool:
core-pool-size: 8
max-pool-size: 16
queue-capacity: 200
keep-alive-seconds: 300