From 483f8ed97b6cb2e1db5b4141fa8581d976010266 Mon Sep 17 00:00:00 2001 From: Luke Street Date: Mon, 15 Feb 2021 22:03:40 -0500 Subject: [PATCH] Change CResFactory::AsyncIdle timeout to 5ms --- Runtime/CResFactory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/CResFactory.cpp b/Runtime/CResFactory.cpp index 2968b6d02..09d178910 100644 --- a/Runtime/CResFactory.cpp +++ b/Runtime/CResFactory.cpp @@ -78,7 +78,7 @@ void CResFactory::AsyncIdle() { return; auto startTime = std::chrono::steady_clock::now(); while (std::chrono::duration_cast(std::chrono::steady_clock::now() - startTime).count() < - 2) { + 5) { auto& task = m_loadList.front(); if (PumpResource(task)) { m_loadMap.erase(task.x0_tag);