Skip to content

Commit 63044dc

Browse files
committed
Undo maxConcurrency testing
1 parent 90daf5d commit 63044dc

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/FsAutoComplete.Core/Utils.fs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -239,11 +239,10 @@ module Async =
239239
/// <summary>Creates an asynchronous computation that executes all the given asynchronous computations, using 75% of the Environment.ProcessorCount</summary>
240240
/// <param name="computations">A sequence of distinct computations to be parallelized.</param>
241241
let parallel75 computations =
242-
// let maxConcurrency =
243-
// Math.Max(1.0, Math.Floor((float System.Environment.ProcessorCount) * 0.75))
242+
let maxConcurrency =
243+
Math.Max(1.0, Math.Floor((float System.Environment.ProcessorCount) * 0.75))
244244

245-
// Async.Parallel(computations, int maxConcurrency)
246-
Async.Parallel computations
245+
Async.Parallel(computations, int maxConcurrency)
247246

248247
[<RequireQualifiedAccess>]
249248
module Array =

0 commit comments

Comments
 (0)