You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{< note >}}SCE requires the [RESP3]({{< relref "/develop/reference/protocol-spec#resp-versions" >}})
287
+
protocol, so you must set `protocol=3` explicitly when you connect.
288
+
{{< /note >}}
289
+
290
+
The `MaintenanceEventsConfig` constructor accepts the following parameters:
291
+
292
+
| Name | Type | Default | Description |
293
+
|------|------|---------|-------------|
294
+
|`enabled`|`bool`|`False`| Whether or not to enable SCE. |
295
+
|`proactive_reconnect`|`bool`|`False`| Whether or not to automatically reconnect when a node is replaced. |
296
+
|`relax_timeout`|`int`|`20`| The number of seconds to wait before reconnecting after a node replacement. A value of `-1` disables the relax timeout. |
297
+
|`endpoint_type`|`EndpointType`|`None`| Override for the endpoint type to use in the `CLIENT MAINT_NOTIFICATIONS` command. If this is `None`, the endpoint type will be determined automatically based on the host and TLS configuration. |
0 commit comments