Skip to content

Commit 2715c36

Browse files
Revert ThreadPool.SetMinThreads(0,0) (#5059)
Based on user feedback on #4983
1 parent 1bec20a commit 2715c36

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/core/Akka/Actor/ActorSystem.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -278,10 +278,6 @@ public static ActorSystem Create(string name)
278278

279279
private static ActorSystem CreateAndStartSystem(string name, Config withFallback, ActorSystemSetup setup)
280280
{
281-
// allows the ThreadPool to scale up / down dynamically
282-
// by removing minimum thread count, which in our benchmarks
283-
// appears to negatively impact performance
284-
ThreadPool.SetMinThreads(0, 0);
285281
var system = new ActorSystemImpl(name, withFallback, setup, Option<Props>.None);
286282
system.Start();
287283
return system;

0 commit comments

Comments
 (0)