16 lines
560 B
Java
16 lines
560 B
Java
package com.nanri.aiimage.config;
|
|
|
|
import lombok.Data;
|
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
|
|
@Data
|
|
@ConfigurationProperties(prefix = "aiimage.task-pressure")
|
|
public class TaskPressureProperties {
|
|
private long localTaskEntityCacheMillis = 3000;
|
|
private int dbSelectBatchSize = 200;
|
|
private long scopePayloadFlushIntervalMillis = 15000;
|
|
private long scopePayloadBufferRetentionHours = 24;
|
|
private int scopePayloadRecoveryMaxFiles = 200;
|
|
private String scopePayloadCleanupCron = "15 */30 * * * *";
|
|
}
|