getUserCacheKey returns the key for user cache
(userId int)
| 48 | |
| 49 | // getUserCacheKey returns the key for user cache |
| 50 | func getUserCacheKey(userId int) string { |
| 51 | return fmt.Sprintf("user:%d", userId) |
| 52 | } |
| 53 | |
| 54 | func userCacheTTLSeconds() int { |
| 55 | ttl := common.RedisKeyCacheSeconds() |
no outgoing calls