aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2023-08-24 14:21:53 +0200
committerDan Engelbrecht <[email protected]>2023-08-24 14:21:53 +0200
commit70baa08bc523765f0f5d66cd1216f0c881fcd820 (patch)
tree1c8c9c0fcdeb531972e1fcf4c371739dbbef7df5
parent0.2.18-pre0 (diff)
downloadzen-70baa08bc523765f0f5d66cd1216f0c881fcd820.tar.xz
zen-70baa08bc523765f0f5d66cd1216f0c881fcd820.zip
Minor: Make sure to reset cache logging worker thread event to avoid busy-looping looking for more work
-rw-r--r--CHANGELOG.md1
-rw-r--r--src/zenserver/cache/structuredcachestore.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f0b175319..6d522c13d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,6 +3,7 @@
- Bugfix: Fix construction order in OpenProcessCache to avoid crash in OpenProcessCache::GcWorker
- Bugfix: Retain `ServerPath` in oplog when performing `oplog-snapshot`. This is a short-term fix for current incompatibility with the UE cooker.
- Bugfix: Fix OpenProcessCache state error causing assert/error
+- Bugfix: Make sure to reset cache logging worker thread event to avoid busy-looping looking for more work
- Improvement: Make sure we have disk space available to do GC and use reserve up front if need be
- Improvement: We now build the Linux target using the UE toolchain to be compliant with the VFX platform that UE uses for Linux.
diff --git a/src/zenserver/cache/structuredcachestore.cpp b/src/zenserver/cache/structuredcachestore.cpp
index 001659672..a115839ce 100644
--- a/src/zenserver/cache/structuredcachestore.cpp
+++ b/src/zenserver/cache/structuredcachestore.cpp
@@ -322,6 +322,7 @@ ZenCacheStore::LogWorker()
break;
}
m_LogEvent.Wait();
+ m_LogEvent.Reset();
}
}