Skip to content

Allow configuration of backfill batch size #406

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Oct 16, 2024
Merged

Conversation

ryanslade
Copy link
Contributor

It can be controlled via the --backfill-batch-size command line parameter or by setting the PGROLL_BACKFILL_BATCH_SIZE environment variable.

It can also be set programatically via the roll.WithBackfillBatchSize function.

If unset, it will default to 1000.

Part of #168

It can be controlled via the `--backfill-batch-size` command line
parameter or by setting the `PGROLL_BACKFILL_BATCH_SIZE` environment
variable.

It can also be set programatically via the `roll.WithBackfillBatchSize`
function.

If unset, it will default to 1000.
@ryanslade ryanslade merged commit ced761b into main Oct 16, 2024
52 checks passed
@ryanslade ryanslade deleted the rs/configurable-batchsize branch October 16, 2024 12:17
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