diff --git a/CHANGELOG.md b/CHANGELOG.md index 67cb937a5ab..c25a05507e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,16 @@ ### 4.5-SNAPSHOT #### Bugs +* Fix #1767: Removed fixed override for Okhttp client's `pingInterval` + +#### Improvements + +#### Dependency Upgrade + +#### New Feature + +### 4.5.2 (14-09-2019) +#### Bugs * Fix #1759: Portforwarding is broken #### Improvements diff --git a/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/Config.java b/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/Config.java index 2547c2fa4dc..ecf116f1de9 100644 --- a/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/Config.java +++ b/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/Config.java @@ -126,7 +126,7 @@ public class Config { public static final Long DEFAULT_SCALE_TIMEOUT = 10 * 60 * 1000L; public static final int DEFAULT_LOGGING_INTERVAL = 20 * 1000; public static final Long DEFAULT_WEBSOCKET_TIMEOUT = 5 * 1000L; - public static final Long DEFAULT_WEBSOCKET_PING_INTERVAL = 1 * 1000L; + public static final Long DEFAULT_WEBSOCKET_PING_INTERVAL = 30 * 1000L; public static final Integer DEFAULT_MAX_CONCURRENT_REQUESTS = 64; public static final Integer DEFAULT_MAX_CONCURRENT_REQUESTS_PER_HOST = 5; diff --git a/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/dsl/internal/WatchConnectionManager.java b/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/dsl/internal/WatchConnectionManager.java index d8701fd1c22..9043e19a4ff 100644 --- a/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/dsl/internal/WatchConnectionManager.java +++ b/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/dsl/internal/WatchConnectionManager.java @@ -82,7 +82,6 @@ public WatchConnectionManager(final OkHttpClient client, final BaseOperation