aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2025-04-24 14:26:23 +0200
committerGitHub Enterprise <[email protected]>2025-04-24 14:26:23 +0200
commita6f5506c2be0d30db37a2b8a51d0bd221e984fbc (patch)
tree527869db3617ec3a3b0a644b7a055fb3f009d04b
parentclose servers in multi server (#371) (diff)
downloadzen-a6f5506c2be0d30db37a2b8a51d0bd221e984fbc.tar.xz
zen-a6f5506c2be0d30db37a2b8a51d0bd221e984fbc.zip
fix buildstore disksizelimit lua config name (#372)
-rw-r--r--CHANGELOG.md1
-rw-r--r--src/zenserver/config.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 749fae571..aa33594d4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,7 @@
- Bugfix: Use proper FindClose call when using fallback when getting file attributes on windows
- Bugfix: Fixed race condition at final chunks when downloading multipart blobs which could lead to corruption and/or crash
- Bugfix: Fixed BigInt conversion error affecting the tree view in the web UI
+- Bugfix: Fixed lua config naming for zenserver `--buildstore-disksizelimit` option
- Feature: New `zen wipe` command for fast cleaning of directories, it will not remove the directory itself, only the content
- `--directory` - path to directory to wipe, if the directory does not exist or is empty, no action will be taken
- `--keep-readonly` - skip removal of read-only files found in directory, defaults to `true`, set to `false` to remove read-only files
diff --git a/src/zenserver/config.cpp b/src/zenserver/config.cpp
index 9a12719c0..e81e8eb54 100644
--- a/src/zenserver/config.cpp
+++ b/src/zenserver/config.cpp
@@ -361,7 +361,7 @@ ParseConfigFile(const std::filesystem::path& Path,
////// buildsstore
LuaOptions.AddOption("server.buildstore.enabled"sv, ServerOptions.BuildStoreConfig.Enabled, "buildstore-enabled"sv);
- LuaOptions.AddOption("buildstore.disksizelimit"sv, ServerOptions.BuildStoreConfig.MaxDiskSpaceLimit, "buildstore-disksizelimit");
+ LuaOptions.AddOption("server.buildstore.disksizelimit"sv, ServerOptions.BuildStoreConfig.MaxDiskSpaceLimit, "buildstore-disksizelimit");
////// network
LuaOptions.AddOption("network.httpserverclass"sv, ServerOptions.HttpServerConfig.ServerClass, "http"sv);