push.scheduler.changes-before-auto-commit
Number of changes to a Push collection before a commit is automatically triggered.
Key: push.scheduler.changes-before-auto-commit
Type: Integer
Can be set in: collection.cfg
Description
The number of changes to documents and redirects which must occur on a push collection before a commit is automatically triggered.
Default Value
By default a Push collection will trigger a commit after every change, making a document searchable as soon as it is added to a push collection.
push.scheduler.changes-before-auto-commit=1
Examples
To conserve resources dedicated to commits, we can delay commits to be triggered after 100 changes.
push.scheduler.changes-before-auto-commit=100