Skip to content

Commit

Permalink
[ISSUE-180][FEATURE] Disable rss.worker.closeIdleConnections by defau…
Browse files Browse the repository at this point in the history
…lt (#181)
  • Loading branch information
AngersZhuuuu authored Jun 28, 2022
1 parent 40c89d2 commit 5f8521e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CONFIGURATION_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ So we should set `rss.worker.flush.queue.capacity=6553` and each RSS worker has
| `rss.worker.prometheus.metric.port` | 9096 | int | |
| `rss.merge.push.data.threshold` | 1 MiB | String | |
| `rss.driver.metaService.port` | 0 | int | |
| `rss.worker.closeIdleConnections` | true | bool | |
| `rss.worker.closeIdleConnections` | false | bool | |
| `rss.ha.enabled` | false | bool | |
| `rss.ha.master.hosts` | `rss.master.host` 的值 | String | |
| `rss.ha.service.id` | | String | |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ object RssConf extends Logging {
}

def closeIdleConnections(conf: RssConf): Boolean = {
conf.getBoolean("rss.worker.closeIdleConnections", defaultValue = true)
conf.getBoolean("rss.worker.closeIdleConnections", defaultValue = false)
}

def replicateFastFailDurationMs(conf: RssConf): Long = {
Expand Down

0 comments on commit 5f8521e

Please sign in to comment.