docs/synopsis.md in table_sync-1.7.0 vs docs/synopsis.md in table_sync-1.8.0
- old
+ new
@@ -80,11 +80,11 @@
- `TableSync.exchange_name` defines the exchange name used for publishing (optional, falls back
to default Rabbit gem configuration).
# Manual publishing
-`TableSync::Publisher.new(object_class, original_attributes, confirm: true, state: :updated)` where
-state is one of `:created / :updated / :destroyed` and `confirm` is Rabbit's confirm delivery flag
+`TableSync::Publisher.new(object_class, original_attributes, confirm: true, state: :updated, debounce_time: 45)`
+where state is one of `:created / :updated / :destroyed` and `confirm` is Rabbit's confirm delivery flag and optional param `debounce_time` determines debounce time in seconds, 1 minute by default.
# Manual publishing with batches
You can use `TableSync::BatchPublisher` to publish changes in batches (array of hashes in `attributes`).
For now, only the following changes in the table can be published: `create` and` update`.