Skip to content

Commit

Permalink
redpanda: set listen_backlog from global config setting
Browse files Browse the repository at this point in the history
Fixes: #1910

Signed-off-by: John Spray <jcs@vectorized.io>
  • Loading branch information
jcsp committed Aug 3, 2021
1 parent bfa6a49 commit ec5018c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/v/redpanda/application.cc
Original file line number Diff line number Diff line change
Expand Up @@ -647,6 +647,8 @@ void application::wire_up_redpanda_services() {
c.max_service_memory_per_core = memory_groups::rpc_total_memory();
c.disable_metrics = rpc::metrics_disabled(
config::shard_local_cfg().disable_metrics());
c.listen_backlog
= config::shard_local_cfg().rpc_server_listen_backlog;
auto rpc_builder = config::shard_local_cfg()
.rpc_server_tls()
.get_credentials_builder()
Expand Down Expand Up @@ -741,6 +743,8 @@ void application::wire_up_redpanda_services() {
return ss::async([this, &c] {
c.max_service_memory_per_core
= memory_groups::kafka_total_memory();
c.listen_backlog
= config::shard_local_cfg().rpc_server_listen_backlog;
auto& tls_config
= config::shard_local_cfg().kafka_api_tls.value();
for (const auto& ep : config::shard_local_cfg().kafka_api()) {
Expand Down

0 comments on commit ec5018c

Please sign in to comment.