Skip to content

Commit 942640b

Browse files
committed
.
1 parent 4d69ae5 commit 942640b

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

tests/FSharp.Test.Utilities/XunitHelpers.fs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -203,13 +203,6 @@ module OneTimeSetup =
203203
// We need AssemblyResolver already here, because OpenTelemetry loads some assemblies dynamically.
204204
log "Adding AssemblyResolver"
205205
AssemblyResolver.addResolver ()
206-
207-
// Increase worker threads to mitigate temporary starvation from many caches with MailboxProcessors
208-
let workers, iocp = ThreadPool.GetMinThreads()
209-
let target = max workers (Environment.ProcessorCount * 2)
210-
if target > workers then
211-
log $"Increasing ThreadPool minimum worker threads to {target}"
212-
ThreadPool.SetMinThreads(target, iocp) |> ignore
213206
#endif
214207
log "Installing TestConsole redirection"
215208
TestConsole.install()

0 commit comments

Comments
 (0)