push.init-mode
The initial mode in which push should start.
Key: push.init-mode
Type: RunMode
allowed values: DEFAULT
, SLAVE
or UNKNOWN
Can be set in: collection.cfg
Description
Sets the initial mode in which push should operate in. This is only read the first time Push starts, ie the first time a editing call is made to the Push API. If the push collection has already been started at least once, you can change the push run mode by running:
POST /push-api/v1/collections/test-push2/mode/?mode=<VALUE>
where value is either 'DEFAULT' or 'SLAVE'.
Default Value
By default this is set to DEFAULT, which means the push collection can be used to add and delete documents.
push.initial-mode=DEFAULT
Examples
If you wish to set up a query processors for a Push collection you can set:
push.initial-mode=SLAVE
before the push collection is started.