Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
samwillis committed Dec 8, 2024
1 parent 7e94f13 commit aa1124b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/docs/sync.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,11 @@ It takes the following options as an object:
- `commitGranularity: CommitGranularity`<br>
The granularity of the commit operation, defaults to `"up-to-date"`. Note that a commit will always be performed immediately on the `up-to-date` message.
Options:

- `"up-to-date"`: Commit all messages when the `up-to-date` message is received.
- `"transaction"`: Commit all messages within transactions as they were applied to the source Postgres.
- `"operation"`: Commit each message in its own transaction.
- `number`: Commit every N messages.
- `number`: Commit every N messages.

- `commitThrottle: number`<br>
The number of milliseconds to wait between commits, defaults to `0`.
Expand Down

0 comments on commit aa1124b

Please sign in to comment.