2023-08-03 18:42:04 +00:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
2023-08-21 17:31:54 +00:00
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
2023-08-03 18:42:04 +00:00
|
|
|
|
|
|
|
syntax = "proto3";
|
|
|
|
|
2023-09-22 16:51:15 +00:00
|
|
|
package hashicorp.consul.mesh.v2beta1;
|
2023-08-03 18:42:04 +00:00
|
|
|
|
|
|
|
import "google/protobuf/duration.proto";
|
|
|
|
|
2023-09-22 21:13:24 +00:00
|
|
|
// HTTPRouteTimeouts defines timeouts that can be configured for an HTTPRoute
|
|
|
|
// or GRPCRoute.
|
2023-08-03 18:42:04 +00:00
|
|
|
message HTTPRouteTimeouts {
|
2023-09-22 21:13:24 +00:00
|
|
|
// RequestTimeout is the total amount of time permitted for the entire
|
|
|
|
// downstream request (and retries) to be processed.
|
2023-08-03 18:42:04 +00:00
|
|
|
google.protobuf.Duration request = 1;
|
|
|
|
|
2023-09-22 21:13:24 +00:00
|
|
|
// Idle specifies the total amount of time permitted for the request stream to be idle.
|
|
|
|
google.protobuf.Duration idle = 2;
|
2023-08-03 18:42:04 +00:00
|
|
|
}
|