PGSQL Thread safety checks turned back on until we're confident; performance gain is negligible by having them off

This commit is contained in:
2025-09-15 02:50:45 +01:00
parent 919ab864ce
commit 5a6bf4e7c2
5 changed files with 7 additions and 7 deletions

View File

@@ -45,7 +45,7 @@ public class Startup
{
builder.MigrationsHistoryTable("_efmigrationshistory", "public");
}).UseSnakeCaseNamingConvention();
options.EnableThreadSafetyChecks(false);
options.EnableThreadSafetyChecks();
}, Configuration.GetValue(nameof(MareConfigurationBase.DbContextPoolSize), 1024));
services.AddSingleton(m => new MareMetrics(m.GetService<ILogger<MareMetrics>>(), new List<string> { },