aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/storage/projectstore/httpprojectstore.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2026-03-09 22:20:52 +0100
committerGitHub Enterprise <[email protected]>2026-03-09 22:20:52 +0100
commit9f33eaa7b7f246d68ea539f32cd74ecf8dfd5790 (patch)
treeb55891ffd66b1f6ab68da8a9fdf8ccabd07d50e7 /src/zenserver/storage/projectstore/httpprojectstore.cpp
parentDashboard overhaul, compute integration (#814) (diff)
downloadzen-9f33eaa7b7f246d68ea539f32cd74ecf8dfd5790.tar.xz
zen-9f33eaa7b7f246d68ea539f32cd74ecf8dfd5790.zip
updated chunk–block analyser (#818)
* create oplogs as they are imported * Improved logic for partial block analisys * unit tests for ChunkBlockAnalyser
Diffstat (limited to 'src/zenserver/storage/projectstore/httpprojectstore.cpp')
-rw-r--r--src/zenserver/storage/projectstore/httpprojectstore.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/zenserver/storage/projectstore/httpprojectstore.cpp b/src/zenserver/storage/projectstore/httpprojectstore.cpp
index 3631ee1c5..9bf00b825 100644
--- a/src/zenserver/storage/projectstore/httpprojectstore.cpp
+++ b/src/zenserver/storage/projectstore/httpprojectstore.cpp
@@ -299,9 +299,6 @@ namespace {
bool ForceDisableBlocks = File["disableblocks"sv].AsBool(false);
bool ForceEnableTempBlocks = File["enabletempblocks"sv].AsBool(false);
- Result.LatencySec = 0;
- Result.MaxRangeCountPerRequest = 1;
-
FileRemoteStoreOptions Options = {
RemoteStoreOptions{.MaxBlockSize = MaxBlockSize, .MaxChunksPerBlock = 1000, .MaxChunkEmbedSize = MaxChunkEmbedSize},
FolderPath,
@@ -309,7 +306,9 @@ namespace {
std::string(OptionalBaseName),
ForceDisableBlocks,
ForceEnableTempBlocks};
- Result.Store = CreateFileRemoteStore(Log(), Options);
+ Result.Store = CreateFileRemoteStore(Log(), Options);
+ Result.LatencySec = 0.5 / 1000.0; // 0.5 ms
+ Result.MaxRangeCountPerRequest = 1024u;
}
if (CbObjectView Cloud = Params["cloud"sv].AsObjectView(); Cloud)