diff --git a/pkg/cmab/config.go b/pkg/cmab/config.go index 746b3f4f..ab4c8830 100644 --- a/pkg/cmab/config.go +++ b/pkg/cmab/config.go @@ -25,7 +25,7 @@ import ( const ( // DefaultCacheSize is the default size for CMAB cache - DefaultCacheSize = 100 + DefaultCacheSize = 1000 // DefaultCacheTTL is the default TTL for CMAB cache (30 minutes to match agent) DefaultCacheTTL = 30 * time.Minute diff --git a/pkg/cmab/config_test.go b/pkg/cmab/config_test.go index bbc643d4..756e2fc7 100644 --- a/pkg/cmab/config_test.go +++ b/pkg/cmab/config_test.go @@ -35,7 +35,7 @@ func TestNewDefaultConfig(t *testing.T) { } func TestDefaultConstants(t *testing.T) { - assert.Equal(t, 100, DefaultCacheSize) + assert.Equal(t, 1000, DefaultCacheSize) assert.Equal(t, 30*time.Minute, DefaultCacheTTL) assert.Equal(t, 10*time.Second, DefaultHTTPTimeout) }