aboutsummaryrefslogtreecommitdiff
path: root/src/zen/cmds/up_cmd.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2024-04-20 13:22:05 +0200
committerGitHub Enterprise <[email protected]>2024-04-20 13:22:05 +0200
commitaa0b0d3cbfc6c4561591df856396703f7177292e (patch)
tree6ff9a4e94559ba62d8ee07076d56dedc7d2e9115 /src/zen/cmds/up_cmd.cpp
parent5.4.5-pre0 (diff)
downloadarchived-zen-aa0b0d3cbfc6c4561591df856396703f7177292e.tar.xz
archived-zen-aa0b0d3cbfc6c4561591df856396703f7177292e.zip
import oplog improvements (#54)
* report down/up transfer speed during progress * add disk buffering in http client * offload block decoding and chunk writing form network worker pool threads add block hash verification for blocks recevied at oplog import * separate download-latch from write-latch to get more accurate download speed * check headers when downloading with http client to go directly to file writing for large payloads * we must clear write callback even if we only provide it as an argument to the Download() call * make timeout optional in AddSponsorProcess * check return codes when creating windows threadpool
Diffstat (limited to 'src/zen/cmds/up_cmd.cpp')
-rw-r--r--src/zen/cmds/up_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zen/cmds/up_cmd.cpp b/src/zen/cmds/up_cmd.cpp
index 0db5afb3b..5344a078d 100644
--- a/src/zen/cmds/up_cmd.cpp
+++ b/src/zen/cmds/up_cmd.cpp
@@ -152,7 +152,7 @@ AttachCommand::Run(const ZenCliOptions& GlobalOptions, int argc, char** argv)
return 1;
}
- if (!Entry->AddSponsorProcess(m_OwnerPid))
+ if (!Entry->AddSponsorProcess(m_OwnerPid, 2000))
{
ZEN_WARN("unable to add sponsor process to running zen server instance");
return 1;