fix: address code review findings
This commit is contained in:
3
internal/cache/store.go
vendored
3
internal/cache/store.go
vendored
@@ -147,6 +147,9 @@ const (
|
||||
|
||||
// SearchFarTermTTL is the time-to-live for search results with far-term dates (7 days).
|
||||
SearchFarTermTTL = 7 * 24 * time.Hour
|
||||
|
||||
// PreferenceTTL is the time-to-live for user preferences (7 days).
|
||||
PreferenceTTL = 7 * 24 * time.Hour
|
||||
)
|
||||
|
||||
// GetCityKey returns the cache key for a city code.
|
||||
|
||||
Reference in New Issue
Block a user