You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
redis.ExpireTime and redis.PExpireTime should return redis.TimeCmd.
Current Behavior
redis.ExpireTime and redis.PExpireTime should return redis.DurationCmd.
Possible Solution
Ideally both functions (intruduced only recently in #2426) would return redis.TimeCmd to avoid the necessary conversion and possible confusion of returning a duration that actually represents an absolute unix timestamp.
This would however break the v9 API 😞
Alternatively, the discrepancy should be clearly explained in the API, warning about the need for conversion.
Mungrel, aakarim, Rican7 and martin-suchaaakarim and Rican7