Skip to content

Commit 689112d

Browse files
committed
wip
1 parent 8d32412 commit 689112d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/Compiler/Utilities/Caches.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ module CacheOptions =
101101
{
102102
CacheOptions.TotalCapacity = 1024
103103
CacheOptions.HeadroomPercentage = 50
104-
CacheOptions.EvictionMode = EvictionMode.MailboxProcessor
104+
CacheOptions.EvictionMode = EvictionMode.Immediate // EvictionMode.MailboxProcessor
105105
CacheOptions.Comparer = HashIdentity.Structural
106106
}
107107

tests/FSharp.Test.Utilities/XunitHelpers.fs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -205,10 +205,10 @@ module OneTimeSetup =
205205
AssemblyResolver.addResolver ()
206206

207207
// 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 * 4)
210-
if target > workers then
211-
ThreadPool.SetMinThreads(target, iocp) |> ignore
208+
//let workers, iocp = ThreadPool.GetMinThreads()
209+
//let target = max workers (Environment.ProcessorCount * 4)
210+
//if target > workers then
211+
// ThreadPool.SetMinThreads(target, iocp) |> ignore
212212
#endif
213213
log "Installing TestConsole redirection"
214214
TestConsole.install()

0 commit comments

Comments
 (0)