diff --git a/gravitee-node-vertx/src/main/java/io/gravitee/node/vertx/client/http/VertxHttpClientFactory.java b/gravitee-node-vertx/src/main/java/io/gravitee/node/vertx/client/http/VertxHttpClientFactory.java index cfbafbc7f..f007d99e7 100644 --- a/gravitee-node-vertx/src/main/java/io/gravitee/node/vertx/client/http/VertxHttpClientFactory.java +++ b/gravitee-node-vertx/src/main/java/io/gravitee/node/vertx/client/http/VertxHttpClientFactory.java @@ -119,6 +119,7 @@ private io.vertx.core.http.HttpClientOptions createHttpClientOptions() { options .setProtocolVersion(HttpVersion.HTTP_2) .setHttp2ClearTextUpgrade(httpOptions.isClearTextUpgrade()) + .setHttp2KeepAliveTimeout((int) httpOptions.getKeepAliveTimeout() / 1000) .setHttp2MaxPoolSize(httpOptions.getMaxConcurrentConnections()) .setHttp2MultiplexingLimit(httpOptions.getHttp2MultiplexingLimit()); }