aboutsummaryrefslogtreecommitdiff
path: root/zenserver/zenserver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'zenserver/zenserver.cpp')
-rw-r--r--zenserver/zenserver.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/zenserver/zenserver.cpp b/zenserver/zenserver.cpp
index f030694db..d475ee70f 100644
--- a/zenserver/zenserver.cpp
+++ b/zenserver/zenserver.cpp
@@ -205,7 +205,7 @@ public:
std::error_code Ec;
for (const std::filesystem::directory_entry& DirEntry : std::filesystem::directory_iterator{m_DataRoot, Ec})
{
- if (DirEntry.is_directory())
+ if (DirEntry.is_directory() && (DirEntry.path().filename() != "logs"))
{
ZEN_INFO("Deleting '{}'", DirEntry.path());
@@ -331,7 +331,9 @@ public:
void Run()
{
- Scrub();
+ // This is disabled for now, awaiting better scheduling
+ //
+ // Scrub();
if (m_ProcessMonitor.IsActive())
{