Keep subscriptions open when the peer is down
Here’s how to set up Liberator so that it will allow requests for open subscriptions.
-
To allow all subscription requests to be open, set the data services configuration item
service-request-timeout
to-1
(no timeout set). -
To allow open subscription requests just for a particular data service, set the
request-timeout
option of theadd-data-service
configuration item for the data service to0
(no timeout set). -
In either case, also set the
remote-type
option in the Liberator’sadd-peer
configuration item referring to the DataSource peer(s) that must satisfy the open subscription requests. The value ofremote-type
must match the value of thelocal-type
option in the DataSource peers'add-peer
configuration for the Liberator (which would be eitheractive
oractive|contrib
). This allows the Liberator to determine that a DataSource peer is an active DataSource before the peer has actually connected to the Liberator. The Liberator can then keep subscription requests for that DataSource peer open, even when peer is not connected.
See also:
-
Features and concepts: Open subscriptions
-
Features and concepts: Data and subscription management in Liberator
-
Reference: Data services configuration