(cacheType CacheType)
| 60 | } |
| 61 | |
| 62 | func (s *StorageCache) CacheExpiration(cacheType CacheType) time.Duration { |
| 63 | if time, ok := s.cacheExpirationConfigs[cacheType]; ok { |
| 64 | return time |
| 65 | } |
| 66 | return defaultCacheExpiration |
| 67 | } |
no outgoing calls
no test coverage detected