Skip to content

Commit

Permalink
Disable automatic detection of virtual threads (#5270) [ci skip]
Browse files Browse the repository at this point in the history
Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
  • Loading branch information
pditommaso committed Sep 4, 2024
1 parent b08dda5 commit b2a8ad5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion nextflow
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,6 @@ if [[ $NXF_LEGACY_LAUNCHER ]]; then
[[ "$CAPSULE_LOG" ]] && JAVA_OPTS+=(-Dcapsule.log=$CAPSULE_LOG)
[[ "$CAPSULE_RESET" ]] && JAVA_OPTS+=(-Dcapsule.reset=true)
fi
[[ "$JAVA_VER" =~ ^(21|22) ]] && [[ ! "$NXF_ENABLE_VIRTUAL_THREADS" ]] && NXF_ENABLE_VIRTUAL_THREADS=true
[[ "$cmd" != "run" && "$cmd" != "node" ]] && JAVA_OPTS+=(-XX:+TieredCompilation -XX:TieredStopAtLevel=1)
[[ "$NXF_OPTS" ]] && JAVA_OPTS+=($NXF_OPTS)
[[ "$NXF_CLASSPATH" ]] && export NXF_CLASSPATH
Expand Down

0 comments on commit b2a8ad5

Please sign in to comment.