fix: address code review findings

This commit is contained in:
2026-08-17 23:40:52 +03:00
parent 9b89b7b9ab
commit 8aecaf1468
8 changed files with 632 additions and 576 deletions

View File

@@ -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.