Skip to content

Commit

Permalink
Merge pull request #12 from redBorder/bugfix/16022_default_value_with…
Browse files Browse the repository at this point in the history
…out_node

Default value without node
  • Loading branch information
malvads authored Jan 9, 2024
2 parents e637ce8 + 0e70b04 commit ef07787
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/templates/default/http2k_config.json.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"listeners":[
{"proto":"http", "port": <%= @port %>, "num_threads":<%= [ node["cpu"]["total"].to_i - 1, 1].max %>, "mode":"epoll", "redborder_uri":true, "decode_as":"rb_http2k", "connection_memory_limit": 131072, "connection_timeout": 60, "per_ip_connection_limit": 0, "connection_limit": <%= ( [ node["cpu"]["total"].to_i - 1, 1].max*512 ) %>}
],
"brokers":"<%= @kafka_hosts.first(5).map { |x| "#{x}.node" }.join(",") %>",
"brokers":"<%= @kafka_hosts.first(5).map { |x| "#{x}" }.join(",") %>",
"n2kafka_id": "http2k",
"rdkafka.socket.max.fails":"3",
"rdkafka.socket.keepalive.enable":"true",
Expand Down

0 comments on commit ef07787

Please sign in to comment.