From 5f550b029c9e7ace4071fd7e526c003550fdeb9d Mon Sep 17 00:00:00 2001 From: Roger Johansson Date: Sat, 3 Dec 2022 12:27:40 +0100 Subject: [PATCH] bump min threads (#1874) --- tests/Proto.Cluster.Tests/ClusterFixture.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/Proto.Cluster.Tests/ClusterFixture.cs b/tests/Proto.Cluster.Tests/ClusterFixture.cs index e937143ee9..41382ff047 100644 --- a/tests/Proto.Cluster.Tests/ClusterFixture.cs +++ b/tests/Proto.Cluster.Tests/ClusterFixture.cs @@ -55,7 +55,7 @@ public abstract class ClusterFixture : IAsyncLifetime, IClusterFixture, IAsyncDi static ClusterFixture() { //TODO: check if this helps low resource envs like github actions. - ThreadPool.SetMinThreads(20, 20); + ThreadPool.SetMinThreads(40, 40); } protected ClusterFixture(int clusterSize, Func? configure = null) @@ -205,7 +205,7 @@ private static void InitOpenTelemetryTracing() var services = new ServiceCollection(); services.AddLogging(l => { - l.SetMinimumLevel(LogLevel.Debug); + l.SetMinimumLevel(LogLevel.Warning); l.AddOpenTelemetry( options => { @@ -306,8 +306,8 @@ protected virtual ActorSystemConfig GetActorSystemConfig() .WithConfigureProps(props => props.WithTracing().WithLoggingContextDecorator(_logger).WithLoggingContextDecorator(_logger)) .WithConfigureSystemProps((name,props) => { - if (name == "$gossip") - return props; + // if (name == "$gossip") + // return props; return props.WithTracing().WithLoggingContextDecorator(_logger); })