After https://github.com/spring-projects/spring-graphql/issues/534, GraphQlWebSocketHandler (webmvc and webflux) have a keepAlive constructor argument of type Duration. The GraphQL autoconfig should support that with a value based on a spring.graphql.websocket.keep-alive property.