diff --git a/plugin/storage/es/spanstore/reader.go b/plugin/storage/es/spanstore/reader.go index 09c4cadf141..5bba2aee665 100644 --- a/plugin/storage/es/spanstore/reader.go +++ b/plugin/storage/es/spanstore/reader.go @@ -61,7 +61,7 @@ const ( defaultNumTraces = 100 - rolloverMaxSpanAge = time.Hour * 24 * 365 * 100 + rolloverMaxSpanAge = time.Hour * 24 * 365 * 50 ) var ( diff --git a/plugin/storage/es/spanstore/reader_test.go b/plugin/storage/es/spanstore/reader_test.go index 9ce044c9bd2..ba3d00e294c 100644 --- a/plugin/storage/es/spanstore/reader_test.go +++ b/plugin/storage/es/spanstore/reader_test.go @@ -149,7 +149,7 @@ func TestNewSpanReader(t *testing.T) { MaxSpanAge: time.Hour * 72, UseReadWriteAliases: true, }, - maxSpanAge: time.Hour * 24 * 365 * 100, + maxSpanAge: time.Hour * 24 * 365 * 50, }, } for _, test := range tests {