Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mirrors
biopet.biopet
Commits
0d9298f4
Commit
0d9298f4
authored
Mar 15, 2017
by
Peter van 't Hof
Browse files
More limitation on threads
parent
e7a152be
Changes
1
Hide whitespace changes
Inline
Side-by-side
biopet-core/src/main/scala/nl/lumc/sasc/biopet/core/BiopetJavaCommandLineFunction.scala
View file @
0d9298f4
...
...
@@ -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
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment