Skip to content

Commit

Permalink
fixup! adjust gcthreads propagation, argument handling and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vchuravy committed Jun 27, 2023
1 parent 2da97ca commit 270d40b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stdlib/Distributed/src/cluster.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1332,8 +1332,8 @@ function get_threads_spec(opts)
end

function get_gcthreads_spec(opts)
if opts.markthreads > 0 || opts.sweepthreads > 0
`--gcthreads=$(opts.markthreads),$(opts.sweepthreads)`
if opts.nmarkthreads > 0 || opts.nsweepthreads > 0
`--gcthreads=$(opts.nmarkthreads),$(opts.nsweepthreads)`
else
``
end
Expand Down

0 comments on commit 270d40b

Please sign in to comment.