2023-05-05 13:47:28 +00:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
2023-08-11 13:12:13 +00:00
|
|
|
// SPDX-License-Identifier: BUSL-1.1
|
2023-05-05 13:47:28 +00:00
|
|
|
|
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package hashicorp.consul.mesh.v1alpha1;
|
|
|
|
|
2023-08-03 18:42:04 +00:00
|
|
|
import "google/protobuf/duration.proto";
|
|
|
|
|
|
|
|
// Referenced by ProxyConfiguration
|
2023-05-05 13:47:28 +00:00
|
|
|
message ConnectionConfig {
|
2023-08-03 18:42:04 +00:00
|
|
|
google.protobuf.Duration connect_timeout = 1;
|
|
|
|
google.protobuf.Duration request_timeout = 2;
|
2023-05-05 13:47:28 +00:00
|
|
|
}
|
|
|
|
|
2023-08-03 18:42:04 +00:00
|
|
|
// Referenced by ProxyConfiguration
|
2023-05-05 13:47:28 +00:00
|
|
|
message InboundConnectionsConfig {
|
|
|
|
uint64 max_inbound_connections = 12;
|
2023-06-29 21:04:21 +00:00
|
|
|
BalanceConnections balance_inbound_connections = 13;
|
2023-05-05 13:47:28 +00:00
|
|
|
}
|
|
|
|
|
2023-06-29 21:04:21 +00:00
|
|
|
enum BalanceConnections {
|
2023-05-05 13:47:28 +00:00
|
|
|
// buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX
|
2023-06-29 21:04:21 +00:00
|
|
|
BALANCE_CONNECTIONS_DEFAULT = 0;
|
|
|
|
BALANCE_CONNECTIONS_EXACT = 1;
|
2023-05-05 13:47:28 +00:00
|
|
|
}
|