Skip to content

Commit

Permalink
bump min threads (#1874)
Browse files Browse the repository at this point in the history
  • Loading branch information
rogeralsing committed Dec 3, 2022
1 parent 08314e8 commit 5f550b0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/Proto.Cluster.Tests/ClusterFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<ClusterConfig, ClusterConfig>? configure = null)
Expand Down Expand Up @@ -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 =>
{
Expand Down Expand Up @@ -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);
})
Expand Down

0 comments on commit 5f550b0

Please sign in to comment.