fix: redis hmset is deprecated in favor of hset
This commit is contained in:
parent
c1944a4244
commit
346755a02d
@ -3405,7 +3405,7 @@ class StateManagerRedis(StateManager):
|
|||||||
|
|
||||||
pipe = self.redis.pipeline()
|
pipe = self.redis.pipeline()
|
||||||
await (
|
await (
|
||||||
pipe.hmset(name=client_token, mapping=redis_hashset)
|
pipe.hset(name=client_token, mapping=redis_hashset)
|
||||||
.hexpire( # type: ignore
|
.hexpire( # type: ignore
|
||||||
client_token,
|
client_token,
|
||||||
self.token_expiration,
|
self.token_expiration,
|
||||||
|
Loading…
Reference in New Issue
Block a user