The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix get_credentials job
Ishaan Jaff072be44a54a5
diff --git a/litellm/proxy/proxy_server.py b/litellm/proxy/proxy_server.pyindex 6a2da7d83b4..d7e62f98d0e 100644--- a/litellm/proxy/proxy_server.py+++ b/litellm/proxy/proxy_server.py@@ -3089,14 +3089,14 @@ class ProxyStartupEvent:prisma_client=prisma_client, proxy_logging_obj=proxy_logging_obj)- ### GET STORED CREDENTIALS ###- scheduler.add_job(- proxy_config.get_credentials,- "interval",- seconds=1,- args=[prisma_client],- )- await proxy_config.get_credentials(prisma_client=prisma_client)+ ### GET STORED CREDENTIALS ###+ scheduler.add_job(+ proxy_config.get_credentials,+ "interval",+ seconds=10,+ args=[prisma_client],+ )+ await proxy_config.get_credentials(prisma_client=prisma_client)if (proxy_logging_obj is not Noneand proxy_logging_obj.slack_alerting_instance.alerting is not None