261019_01_ENH: 리스트 대량 작업 비동기 처리 및 프로젝트별 동시 실행 제어 적용, 미사용 코드 정
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
package com.kri.contact.server.config;
|
||||
|
||||
import jakarta.validation.constraints.Min;
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
import jakarta.validation.constraints.Size;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Validated
|
||||
@ConfigurationProperties(prefix = "kri.list-async")
|
||||
public class ListAsyncProperties {
|
||||
@Min(1)
|
||||
private int threads = 2;
|
||||
@Min(1)
|
||||
private int queueCapacity = 10;
|
||||
@NotBlank
|
||||
@Size(max = 64)
|
||||
private String ownerInstance = "contact-server";
|
||||
@NotBlank
|
||||
private String resultBaseDir = "upload-file/list-async-results";
|
||||
}
|
||||
Reference in New Issue
Block a user