添加异步线程池配置.
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user