Skip to content

Commit

Permalink
Update plugin/storage/memory/config.go
Browse files Browse the repository at this point in the history
Signed-off-by: Yuri Shkuro <[email protected]>
  • Loading branch information
yurishkuro authored Sep 2, 2024
1 parent cfc789e commit c7a467a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions plugin/storage/memory/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
}

Expand Down

0 comments on commit c7a467a

Please sign in to comment.