litestar-org/litestar
Enhancement: Use redis `GETEX` in `RedisStore.get` for `renew_for` functionality on redis 6.2+
Aperta
#4993 aperta il 16 ago 2026
EnhancementGood First Issue
Metriche repository
- Star
- (8243 stelle)
- Metriche merge PR
- (Merge medio 13h 27m) (26 PR mergiate in 30 g)
Descrizione
Summary
RedisStore.get predates Redi 6.2, which introduced GETEX to get a value and set its expiry in one step. On supported redis versions, GETEX should be used instead of the custom script.