Skip to content

Commit

Permalink
OMP_THREAD_LIMIT=1
Browse files Browse the repository at this point in the history
  • Loading branch information
adamhooper committed Jan 25, 2019
1 parent 0268f60 commit 0f3f597
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

name := "pdfocr"

version := "0.0.11"
version := "0.0.12"

homepage := Some(url("https://github.com/overview/pdfocr"))

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ class Tesseract(val options: TesseractOptions) {
"-", "-", // stdin, stdout
"hocr"
)
processBuilder.environment.put("OMP_THREAD_LIMIT", "1")
processBuilder.start
} catch {
case e: IOException => throw new TesseractMissingException(e)
Expand Down

0 comments on commit 0f3f597

Please sign in to comment.