File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ import (
2424)
2525
2626const (
27- // DefaultCacheSize is the default size for CMAB cache
28- DefaultCacheSize = 1000
27+ // DefaultCacheSize is the default size for CMAB cache (aligned with ODP segments cache)
28+ DefaultCacheSize = 10000
2929 // DefaultCacheTTL is the default TTL for CMAB cache (30 minutes to match agent)
3030 DefaultCacheTTL = 30 * time .Minute
3131
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ func TestNewDefaultConfig(t *testing.T) {
3535}
3636
3737func TestDefaultConstants (t * testing.T ) {
38- assert .Equal (t , 1000 , DefaultCacheSize )
38+ assert .Equal (t , 10000 , DefaultCacheSize )
3939 assert .Equal (t , 30 * time .Minute , DefaultCacheTTL )
4040 assert .Equal (t , 10 * time .Second , DefaultHTTPTimeout )
4141}
You can’t perform that action at this time.
0 commit comments