Skip to content

Commit 6ba7d69

Browse files
authored
change expire in sec to pexpire in ms in python (#71)
1 parent 31aa8e4 commit 6ba7d69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clients/redis/python/memorix_client_redis/cache/cache_item.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def _extend(
4141

4242
hashed_key = self._key(key=key)
4343

44-
self._api._connection.redis.expire(
44+
self._api._connection.redis.pexpire(
4545
hashed_key,
4646
ttl_ms,
4747
)

0 commit comments

Comments
 (0)