package com.nanri.aiimage.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@ConfigurationProperties(prefix = "aiimage.delete-brand-progress")
public class DeleteBrandProgressProperties {
    private long heartbeatTimeoutMinutes = 15;
    private String staleCheckCron = "0 */2 * * * *";

    /**
     * 定时补偿 finalize：用于“分片其实已齐，但最后一次提交断开导致没触发 finalize”的场景。
     */
    private String finalizeCheckCron = "30 */2 * * * *";
}
