Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
parkererickson-tg committed Dec 26, 2024
1 parent 8d5540e commit aaea551
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions eventual-consistency-service/app/graphrag/workers.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,8 @@ async def install_query(
USE GRAPH {conn.graphname}
{query}
INSTALL QUERY {query_name}"""
async with httpx.AsyncClient(timeout=None) as client:
async with util.tg_sem:
res = await conn.gsql(query)
async with util.tg_sem:
res = await conn.gsql(query)

if "error" in res:
LogWriter.error(res)
Expand Down

0 comments on commit aaea551

Please sign in to comment.