Fix unit tests being inconsistent now. (#18298)
This commit is contained in:
committed by
GitHub
parent
67dbe5f581
commit
12391b4881
@@ -38,7 +38,7 @@ namespace Content.Server.Database
|
||||
var concurrency = inMemory ? 1 : cfg.GetCVar(CCVars.DatabaseSqliteConcurrency);
|
||||
_prefsSemaphore = new ConcurrencySemaphore(concurrency, synchronous);
|
||||
|
||||
if (cfg.GetCVar(CCVars.DatabaseSynchronous))
|
||||
if (synchronous)
|
||||
{
|
||||
prefsCtx.Database.Migrate();
|
||||
_dbReadyTask = Task.CompletedTask;
|
||||
|
||||
Reference in New Issue
Block a user