7c68c7b4d048de57e7101788719492217f6ef648
Root cause: ThreadPool::WaitForCompletion could block world thread for 35+ seconds (5s + 30s), leaving insufficient buffer before FreezeDetector triggers at 60 seconds. Combined with other World::Update operations, total time exceeded 60s causing forced crash. Changes: - BotWorldSessionMgr: Reduce wait timeouts from 5s+30s to 2s+8s (10s max) - ThreadPool::WaitForCompletion: Add hard cap of 15 seconds regardless of caller-specified timeout - ThreadPool.h: Change default timeout from milliseconds::max() to 10s This ensures world thread never blocks more than 15 seconds in WaitForCompletion, leaving 45+ seconds buffer for FreezeDetector. Co-Authored-By: Claude Opus 4.5 <[email protected]> Signed-off-by: luis <[email protected]>
WowCommunityProject
Blizzlike WowCommunity project
Languages
C++
89.3%
C
10.1%
CMake
0.4%