We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5145b0f commit 5016353Copy full SHA for 5016353
1 file changed
src/main/kotlin/eu/openanalytics/shinyproxyoperator/Operator.kt
@@ -168,6 +168,11 @@ class Operator(client: NamespacedKubernetesClient? = null,
168
podRetriever = PodRetriever(this.client)
169
}
170
171
+ Timer().schedule(5000, 5000) {
172
+ val num = (getOperatorInstance().client as DefaultKubernetesClient).httpClient.connectionPool().connectionCount()
173
+ val max = (getOperatorInstance().client as DefaultKubernetesClient).configuration.maxConcurrentRequests
174
+ logger.warn { "Current number of connections: $num of $max"}
175
+ }
176
177
178
/**
0 commit comments