Revert "Configurable heap memory release rate (#30353)" (#32453)

This reverts commit 4994e59af25898d56f496fece3ed24dacbdfa87b.

Signed-off-by: Kateryna Nezdolii <kateryna.nezdolii@docker.com>

Mirrored from https://github.com/envoyproxy/envoy @ 295e925766b7ebfa813a021892c1d54a41d06e11
main
update-envoy[bot] 9 months ago
parent 38d3b76d16
commit c5f634eac7
  1. 16
      envoy/config/bootstrap/v3/bootstrap.proto

@ -41,7 +41,7 @@ option (udpa.annotations.file_status).package_version_status = ACTIVE;
// <config_overview_bootstrap>` for more detail.
// Bootstrap :ref:`configuration overview <config_overview_bootstrap>`.
// [#next-free-field: 42]
// [#next-free-field: 41]
message Bootstrap {
option (udpa.annotations.versioning).previous_message_type =
"envoy.config.bootstrap.v2.Bootstrap";
@ -411,9 +411,6 @@ message Bootstrap {
// Optional gRPC async manager config.
GrpcAsyncClientManagerConfig grpc_async_client_manager_config = 40;
// Optional configuration for memory allocation manager.
MemoryAllocatorManager memory_allocator_manager = 41;
}
// Administration interface :ref:`operations documentation
@ -737,14 +734,3 @@ message CustomInlineHeader {
// The type of the header that is expected to be set as the inline header.
InlineHeaderType inline_header_type = 2 [(validate.rules).enum = {defined_only: true}];
}
message MemoryAllocatorManager {
// Configures tcmalloc to perform background release of free memory in amount of bytes per ``memory_release_interval`` interval.
// If equals to ``0``, no memory release will occur. Defaults to ``0``.
uint64 bytes_to_release = 1 [(validate.rules).uint64 = {gte: 1}];
// Interval in milliseconds for memory releasing. If specified, during every
// interval Envoy will try to ``release bytes_to_release`` of free memory back to operating system for reuse.
// Defaults to 1000 milliseconds.
google.protobuf.Duration memory_release_interval = 2;
}

Loading…
Cancel
Save