mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-11 14:41:27 +00:00
Merge branch 'azerothcore:master' into Playerbot
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user