Skip to content

Commit

Permalink
Revert ThreadPool.SetMinThreads(0,0) (#5059)
Browse files Browse the repository at this point in the history
Based on user feedback on #4983
  • Loading branch information
Aaronontheweb authored Jun 2, 2021
1 parent 1bec20a commit 2715c36
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/core/Akka/Actor/ActorSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -278,10 +278,6 @@ public static ActorSystem Create(string name)

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

0 comments on commit 2715c36

Please sign in to comment.