From 9d245df25ce9e503d1c909ba1e90ad54c8c1bed7 Mon Sep 17 00:00:00 2001 From: Ivan Goncharov Date: Thu, 14 Mar 2024 05:18:06 +0200 Subject: [PATCH] Add changelog --- .../feat_subscription_websocket_heartbeat.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .changesets/feat_subscription_websocket_heartbeat.md diff --git a/.changesets/feat_subscription_websocket_heartbeat.md b/.changesets/feat_subscription_websocket_heartbeat.md new file mode 100644 index 0000000000..440bb16c95 --- /dev/null +++ b/.changesets/feat_subscription_websocket_heartbeat.md @@ -0,0 +1,17 @@ +### feat(subscription): add configurable heartbeat for websocket protocol ([Issue #4621](https://github.com/apollographql/router/issues/4621)) + +Add the ability to enable heartbeat for cases where the subgraph drops idle connections. +For example, https://netflix.github.io/dgs/ + +Example of configuration: + +```yaml +subscription: + mode: + passthrough: + all: + path: /graphql + heartbeat_interval: enable #Optional + ``` + +By [@IvanGoncharov](https://github.com/IvanGoncharov) in https://github.com/apollographql/router/pull/4802