Skip to content

push.initial-mode (collection.cfg setting)

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

Example value

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.

See also

top

Funnelback logo
v15.16.0