Skip to content

Commit

Permalink
Test increasing ttpx connection pool.
Browse files Browse the repository at this point in the history
  • Loading branch information
kfindeisen committed Oct 16, 2024
1 parent 4315216 commit c83bbd1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,8 @@ async def main() -> None:

tasks = set()

async with httpx.AsyncClient() as client:
limits = httpx.Limits(max_connections=160)
async with httpx.AsyncClient(limits=limits) as client:

try:
# Setup kafka schema registry connection and deserialzer
Expand Down

0 comments on commit c83bbd1

Please sign in to comment.