mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
latency fix _cache_key_object (#7676)
This commit is contained in:
parent
00a0f56565
commit
af08a0caed
1 changed files with 7 additions and 5 deletions
|
@ -744,12 +744,14 @@ async def user_api_key_auth( # noqa: PLR0915
|
||||||
route=route,
|
route=route,
|
||||||
start_time=start_time,
|
start_time=start_time,
|
||||||
)
|
)
|
||||||
await _cache_key_object(
|
asyncio.create_task(
|
||||||
|
_cache_key_object(
|
||||||
hashed_token=hash_token(master_key),
|
hashed_token=hash_token(master_key),
|
||||||
user_api_key_obj=_user_api_key_obj,
|
user_api_key_obj=_user_api_key_obj,
|
||||||
user_api_key_cache=user_api_key_cache,
|
user_api_key_cache=user_api_key_cache,
|
||||||
proxy_logging_obj=proxy_logging_obj,
|
proxy_logging_obj=proxy_logging_obj,
|
||||||
)
|
)
|
||||||
|
)
|
||||||
|
|
||||||
return _user_api_key_obj
|
return _user_api_key_obj
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue