Skip to content

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