mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
fix async_set_cache
This commit is contained in:
parent
80fb4ece97
commit
c4e8b9607d
1 changed files with 1 additions and 1 deletions
|
|
@ -303,7 +303,7 @@ class RedisCache(BaseCache):
|
|||
raise e
|
||||
|
||||
key = self.check_and_fix_namespace(key=key)
|
||||
ttl = self.get_ttl(**kwargs) or kwargs.get("ex", None)
|
||||
ttl = self.get_ttl(**kwargs)
|
||||
nx = kwargs.get("nx", False)
|
||||
print_verbose(f"Set ASYNC Redis Cache: key: {key}\nValue {value}\nttl={ttl}")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue