@@ -7,6 +7,8 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
@ConfigurationProperties(prefix = "aiimage.task-pressure")
|
||||
public class TaskPressureProperties {
|
||||
private long localTaskEntityCacheMillis = 3000;
|
||||
// 本地文件缓存有效时长,超过该时长视为过期、强制回查 DB,避免陈旧 RUNNING 被复活
|
||||
private long localTaskEntityFileCacheMillis = 60000;
|
||||
private int dbSelectBatchSize = 200;
|
||||
private long scopePayloadFlushIntervalMillis = 15000;
|
||||
private long scopePayloadBufferRetentionHours = 24;
|
||||
|
||||
Reference in New Issue
Block a user