feat(cloudflare): 支持分组级自动与手动 TTL 配置 (#62)

This commit is contained in:
Deqiying
2026-11-08 22:07:26 +08:00
committed by GitHub
parent 18dee29b73
commit e0ba758afa
23 changed files with 775 additions and 7 deletions
@@ -76,9 +76,9 @@ func reconcileMember(ctx context.Context, memberID uint) error {
}
input.Name = state.Domain.Domain
input.Proxied = state.Member.Proxied
input.TTL = 300
input.TTL = groupTTL(&state.Group)
if input.Proxied {
input.TTL = 1
input.TTL = automaticTTL
}
recordID := state.Member.CFRecordID
if recordID != "" {