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);
|
var concurrency = inMemory ? 1 : cfg.GetCVar(CCVars.DatabaseSqliteConcurrency);
|
||||||
_prefsSemaphore = new ConcurrencySemaphore(concurrency, synchronous);
|
_prefsSemaphore = new ConcurrencySemaphore(concurrency, synchronous);
|
||||||
|
|
||||||
if (cfg.GetCVar(CCVars.DatabaseSynchronous))
|
if (synchronous)
|
||||||
{
|
{
|
||||||
prefsCtx.Database.Migrate();
|
prefsCtx.Database.Migrate();
|
||||||
_dbReadyTask = Task.CompletedTask;
|
_dbReadyTask = Task.CompletedTask;
|
||||||
|
|||||||
Reference in New Issue
Block a user