8000 Allow configuration of batch delay by ryanslade · Pull Request #410 · xataio/pgroll · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Allow configuration of batch delay #410

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 1 commit into from
Oct 16, 2024
Merged

Allow configuration of batch delay #410

merged 1 commit into from
Oct 16, 2024

Conversation

ryanslade
Copy link
Contributor
@ryanslade ryanslade commented Oct 16, 2024

You can now configure a delay after each batch has completed. It can be configured in three ways:

  • The --backfill-batch-delay CLI parameter
  • The PGROLL_BACKFILL_BATCH_DELAY environment variable
  • The roll.WithBackfillBatchDelay functional option

It defaults to 0 if not set and all values should be provided using the Go duration format.

Closes #168

You can now configure a delay after each batch has completed. It can be
configured in three ways:

* The `--backfill-batch-delay` CLI parameter
* The `PGROLL_BACKFILL_BATCH_DELAY` environment variable
* The `roll.WithBackfillBatchDelay` functional option

It default to 0 if not set.
@ryanslade ryanslade merged commit 7d88c25 into main Oct 16, 2024
52 checks passed
@ryanslade ryanslade deleted the rs/batch-delay branch October 16, 2024 14:18
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.

Provide a way to control the backfill rate
2 participants
0