From 339668ac935f781c06225d2d685642e27348772b Mon Sep 17 00:00:00 2001 From: Dan Engelbrecht Date: Wed, 10 Sep 2025 16:38:33 +0200 Subject: add EMode to WorkerTheadPool to avoid thread starvation (#492) - Improvement: Add a new mode to worker thread pools to avoid starvation of workers which could cause long stalls due to other work begin queued up. UE-305498 --- src/zenserver/admin/admin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/zenserver/admin/admin.cpp') diff --git a/src/zenserver/admin/admin.cpp b/src/zenserver/admin/admin.cpp index f6ad14422..97522e892 100644 --- a/src/zenserver/admin/admin.cpp +++ b/src/zenserver/admin/admin.cpp @@ -73,7 +73,7 @@ GetStatsForDirectory(std::filesystem::path Dir) GetDirectoryContent(Dir, DirectoryContentFlags::IncludeAllEntries | DirectoryContentFlags::IncludeFileSizes, DirTraverser, - GetSmallWorkerPool(EWorkloadType::Burst), + GetSmallWorkerPool(EWorkloadType::Background), PendingWorkCount); PendingWorkCount.CountDown(); PendingWorkCount.Wait(); -- cgit v1.2.3