Skip to content

Commit

Permalink
Disable the RebalancingInterceptor by default (cashapp#2889)
Browse files Browse the repository at this point in the history
Typically, our applications communicate via a service mesh, so recycling
connections will have no impact on connection balancing
  • Loading branch information
ThePumpingLemma authored Jul 30, 2023
1 parent cded0f8 commit 8e99af6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions misk/src/main/kotlin/misk/web/WebConfig.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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<String, CorsConfig> = mapOf(),
Expand Down

0 comments on commit 8e99af6

Please sign in to comment.