From 8e99af630b5383cf24fd4a5ca4d57d44542a453b Mon Sep 17 00:00:00 2001 From: Dave Grochowski Date: Sun, 30 Jul 2023 10:14:31 -0400 Subject: [PATCH] Disable the RebalancingInterceptor by default (#2889) Typically, our applications communicate via a service mesh, so recycling connections will have no impact on connection balancing --- misk/src/main/kotlin/misk/web/WebConfig.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misk/src/main/kotlin/misk/web/WebConfig.kt b/misk/src/main/kotlin/misk/web/WebConfig.kt index acd5e688c32..54581750e9f 100644 --- a/misk/src/main/kotlin/misk/web/WebConfig.kt +++ b/misk/src/main/kotlin/misk/web/WebConfig.kt @@ -76,7 +76,7 @@ data class WebConfig @JvmOverloads constructor( val jetty_max_concurrent_streams: Int? = null, /** A value in [0.0..100.0]. Include 'Connection: close' in this percentage of responses. */ - val close_connection_percent: Double = 0.01, + val close_connection_percent: Double = 0.0, /** * If true responses which are larger than the minGzipSize will be compressed. @@ -146,7 +146,7 @@ data class WebConfig @JvmOverloads constructor( enable_thread_pool_queue_metrics: Boolean = false, action_exception_log_level: ActionExceptionLogLevelConfig = ActionExceptionLogLevelConfig(), jetty_max_concurrent_streams: Int? = null, - close_connection_percent: Double = 0.01, + close_connection_percent: Double = 0.0, gzip: Boolean = true, minGzipSize: Int = 1024, cors: Map = mapOf(),