Skip to content

feat(infrahub-enterprise): tune prefect triggers read batch size#63

Merged
fatih-acar merged 1 commit into
stablefrom
fac-prefect-triggers-read-batch-size
Jun 2, 2026
Merged

feat(infrahub-enterprise): tune prefect triggers read batch size#63
fatih-acar merged 1 commit into
stablefrom
fac-prefect-triggers-read-batch-size

Conversation

@fatih-acar

Copy link
Copy Markdown
Contributor

Summary

  • Add PREFECT_SERVER_SERVICES_TRIGGERS_READ_BATCH_SIZE to the prefect-server.backgroundServices.env block of each enterprise preset so the triggers service scales with deployment size instead of running at the Prefect default.
  • Values mirror the existing TASK_RUN_RECORDER_READ_BATCH_SIZE scaling: small=1, medium/medium-data=10, large/large-data=20.

Test plan

  • helm template charts/infrahub-enterprise -f charts/infrahub-enterprise/values.<preset>.yaml for each of small/medium/medium-data/large/large-data and confirm the new env var renders on the background-services Deployment with the expected value.
  • yamllint shows no new warnings/errors beyond the pre-existing ones.

🤖 Generated with Claude Code

Add PREFECT_SERVER_SERVICES_TRIGGERS_READ_BATCH_SIZE to each enterprise
preset's prefect-server backgroundServices env, scaling alongside the
existing TASK_RUN_RECORDER_READ_BATCH_SIZE (small=1, medium=10, large=20).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@fatih-acar fatih-acar merged commit 90d64f3 into stable Jun 2, 2026
1 check passed
@fatih-acar fatih-acar deleted the fac-prefect-triggers-read-batch-size branch June 2, 2026 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants