Skip to content

Commit

Permalink
chore: limit max threads to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
Goldziher committed Feb 14, 2025
1 parent 66300f6 commit 5982f80
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions kreuzberg/_tesseract.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,9 @@ async def process_file(
subprocess.run,
command,
capture_output=True,
env={
"OMP_THREAD_LIMIT": "1",
},
)

if not result.returncode == 0:
Expand Down

0 comments on commit 5982f80

Please sign in to comment.