Commit 0d9298f4 authored by Peter van 't Hof's avatar Peter van 't Hof

More limitation on threads

parent e7a152be
......@@ -29,7 +29,8 @@ trait BiopetJavaCommandLineFunction extends JavaCommandLineFunction with BiopetC
/** Constructs java opts, this adds scala threads */
override def javaOpts = super.javaOpts +
optional("-Dscala.concurrent.context.numThreads=", threads, spaceSeparated = false)
optional("-Dscala.concurrent.context.numThreads=", threads, spaceSeparated = false) +
optional("-Dscala.concurrent.context.maxThreads=", threads, spaceSeparated = false)
override def beforeGraph(): Unit = {
setResources()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment