Fix unit tests being inconsistent now. (#18298)

This commit is contained in:
Pieter-Jan Briers 2023-07-26 02:03:29 +02:00 committed by GitHub
parent 67dbe5f581
commit 12391b4881
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;