fix(api): bound ansible backfill query cost
Some checks failed
Code Review / ai-code-review (push) Successful in 21s
CD Pipeline / build-and-deploy (push) Has been cancelled
CD Pipeline / post-deploy-checks (push) Has been cancelled
CD Pipeline / tests (push) Has been cancelled

This commit is contained in:
Your Name
2026-06-27 14:10:17 +08:00
parent 824a56029d
commit f791107938
4 changed files with 10 additions and 5 deletions

View File

@@ -705,12 +705,12 @@ class Settings(BaseSettings):
),
)
AWOOOP_ANSIBLE_CANDIDATE_BACKFILL_INTERVAL_SECONDS: int = Field(
default=300,
default=600,
ge=60,
description="Polling interval for the Ansible candidate backfill worker.",
)
AWOOOP_ANSIBLE_CANDIDATE_BACKFILL_BATCH_LIMIT: int = Field(
default=5,
default=2,
ge=1,
le=25,
description="Maximum backfilled incidents queued per worker tick.",