feat: update task routing and coze handling
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
package com.nanri.aiimage.config;
|
||||
|
||||
import lombok.Data;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
@Data
|
||||
@ConfigurationProperties(prefix = "aiimage.task-image-cache-cleanup")
|
||||
public class TaskImageCacheCleanupProperties {
|
||||
|
||||
private boolean enabled = true;
|
||||
private String cron = "0 30 2 * * *";
|
||||
private int retentionDays = 3;
|
||||
private int batchSize = 5000;
|
||||
private int maxBatchesPerRun = 200;
|
||||
}
|
||||
Reference in New Issue
Block a user