litestar-org/litestar
Enhancement: Use redis `GETEX` in `RedisStore.get` for `renew_for` functionality on redis 6.2+
オープン
#4,993 opened on 2026/08/16
EnhancementGood First Issue
Repository metrics
- Stars
- (8,243 個のスター)
- PR merge metrics
- (平均マージ 13h 27m) (30d で 26 merged PRs)
説明
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.