From c7a467abd2ef3bb3922a0a82f0fb87eee07f3010 Mon Sep 17 00:00:00 2001 From: Yuri Shkuro Date: Mon, 2 Sep 2024 17:35:45 -0400 Subject: [PATCH] Update plugin/storage/memory/config.go Signed-off-by: Yuri Shkuro --- plugin/storage/memory/config.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugin/storage/memory/config.go b/plugin/storage/memory/config.go index 4d10a6dd95a..5c2332b58cd 100644 --- a/plugin/storage/memory/config.go +++ b/plugin/storage/memory/config.go @@ -7,8 +7,9 @@ import "github.com/asaskevich/govalidator" // Configuration describes the options to customize the storage behavior. type Configuration struct { - // MaxTraces is the maximum amount of traces to store to store in memory. - // If MaxTraces is set to 0 (default), the number of traces stored will be unbounded. + // MaxTraces is the maximum amount of traces to store in memory. + // If multi-tenancy is enabled, this limit applies per tenant. + // Zero value (default) means no limit (Warning: memory usage will be unbounded). MaxTraces int `mapstructure:"max_traces"` }