mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
fix(proxy_cli.py-&&-proxy_server.py): bump reset budget intervals and fix pool limits for prisma connections
This commit is contained in:
parent
b6adeec347
commit
4a0df3cb4f
5 changed files with 36 additions and 18 deletions
|
@ -391,13 +391,7 @@ class PrismaClient:
|
|||
# Now you can import the Prisma Client
|
||||
from prisma import Prisma # type: ignore
|
||||
|
||||
self.db = Prisma(
|
||||
http={
|
||||
"limits": httpx.Limits(
|
||||
max_connections=1000, max_keepalive_connections=100
|
||||
)
|
||||
}
|
||||
) # Client to connect to Prisma db
|
||||
self.db = Prisma() # Client to connect to Prisma db
|
||||
|
||||
def hash_token(self, token: str):
|
||||
# Hash the string using SHA-256
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue