The initial mode in which push should start.

Key: push.initial-mode
Type: RunMode allowed values: DEFAULT, SLAVE or UNKNOWN
Can be set in: collection.cfg


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.



If you wish to set up a query processors for a Push collection you can set:


before the push collection is started.

© 2015- Squiz Pty Ltd