Merge branch 'azerothcore:master' into Playerbot

This commit is contained in:
bash
2025-10-01 12:16:44 +02:00
committed by GitHub
5 changed files with 22 additions and 4 deletions

View File

@@ -576,7 +576,12 @@ void DBUpdater<T>::ApplyFile(DatabaseWorkerPool<T>& pool, std::string const& hos
path.generic_string(), pool.GetConnectionInfo()->database);
if (!sConfigMgr->isDryRun())
{
if (uint32 delay = sConfigMgr->GetOption<uint32>("Updates.ExceptionShutdownDelay", 10000))
std::this_thread::sleep_for(Milliseconds(delay));
throw UpdateException("update failed");
}
}
}