# Keep subscriptions open when the peer is down

Here’s how to set up Liberator so that it will allow requests for [open subscriptions](liberator-open-subscriptions.md).

* To allow all subscription requests to be open, set the [data services](../datasource/datasource-data-services.md) configuration item [`service-request-timeout`](../datasource/datasource-data-services-configuration.md#service-request-timeout) to `-1` (no timeout set).
* To allow open subscription requests just for a particular [data service](../datasource/datasource-data-services.md), set the [`request-timeout`](../datasource/datasource-data-services-configuration.md#request-timeout) option of the [`add-data-service`](../datasource/datasource-data-services-configuration.md#add-data-service) configuration item for the data service to `0` (no timeout set).
* In either case, also set the [`remote-type`](../datasource/datasource-datasource-peers-configuration-part-1.md#remote-type) option in the Liberator’s [`add-peer`](../datasource/datasource-datasource-peers-configuration-part-1.md#add-peer) configuration item referring to the DataSource peer(s) that must satisfy the open subscription requests. The value of `remote-type` must match the value of the [`local-type`](../datasource/datasource-datasource-peers-configuration-part-1.md#local-type) option in the DataSource peers' `add-peer` configuration for the Liberator (which would be either `active` or `active|contrib`). This allows the Liberator to determine that a DataSource peer is an [active DataSource](../datasource/datasource-active-subscription-model.md) 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](liberator-open-subscriptions.md)
* Features and concepts: [Data and subscription management](liberator-data-and-subscription-management.md) in Liberator
* Reference: [Data services configuration](../datasource/datasource-data-services-configuration.md)
