PGSQL Thread safety checks turned back on until we're confident; performance gain is negligible by having them off
This commit is contained in:
@@ -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> { },
|
||||
|
Reference in New Issue
Block a user