mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 02:34:29 +00:00
fix async_set_cache
This commit is contained in:
parent
8405fcb748
commit
07215e3f7a
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
Add a link
Reference in a new issue