aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/config.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/zenserver/config.cpp')
-rw-r--r--src/zenserver/config.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/zenserver/config.cpp b/src/zenserver/config.cpp
index 7466255a9..cda5aca16 100644
--- a/src/zenserver/config.cpp
+++ b/src/zenserver/config.cpp
@@ -171,6 +171,11 @@ ValidateOptions(ZenServerOptions& ServerOptions)
throw zen::OptionParseException(
fmt::format("GC attachment pass count can not be larger than {}", ZenGcConfig::GcMaxAttachmentPassCount));
}
+ if (ServerOptions.GcConfig.UseGCV2 == false)
+ {
+ ZEN_WARN("--gc-v2=false is deprecated, reverting to --gc-v2=true");
+ ServerOptions.GcConfig.UseGCV2 = true;
+ }
}
UpstreamCachePolicy