Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
PIP-1490: Stop using SyncLRUCache; use LRUCache.
Browse files Browse the repository at this point in the history
  • Loading branch information
Baliedge committed Jan 19, 2022
1 parent 129e250 commit 5034cb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ func (c *Config) SetDefaults() error {

if c.CacheFactory == nil {
c.CacheFactory = func(maxSize int) Cache {
return NewSyncLRUCache(maxSize)
return NewLRUCache(maxSize)
}
}

Expand Down

0 comments on commit 5034cb7

Please sign in to comment.