aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/cache/structuredcachestore.cpp
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 /src/zenserver/cache/structuredcachestore.cpp
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
Diffstat (limited to 'src/zenserver/cache/structuredcachestore.cpp')
-rw-r--r--src/zenserver/cache/structuredcachestore.cpp1
1 files changed, 1 insertions, 0 deletions
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();
}
}