diff options
| author | Dan Engelbrecht <[email protected]> | 2026-02-20 10:31:31 +0100 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2026-02-20 10:31:31 +0100 |
| commit | 80bc5a53fe9077bc20d287b912f6476db233110c (patch) | |
| tree | 6e32fc6818949faf06d1f00c394b8a40e17714ef /src/zen/cmds/builds_cmd.cpp | |
| parent | fix plain progress bar (#768) (diff) | |
| download | archived-zen-80bc5a53fe9077bc20d287b912f6476db233110c.tar.xz archived-zen-80bc5a53fe9077bc20d287b912f6476db233110c.zip | |
fix builds download indexing timer (#769)
* fix build download indexing timer log
Diffstat (limited to 'src/zen/cmds/builds_cmd.cpp')
| -rw-r--r-- | src/zen/cmds/builds_cmd.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/zen/cmds/builds_cmd.cpp b/src/zen/cmds/builds_cmd.cpp index 8dfe1093f..849259013 100644 --- a/src/zen/cmds/builds_cmd.cpp +++ b/src/zen/cmds/builds_cmd.cpp @@ -1467,9 +1467,16 @@ namespace { ZEN_CONSOLE("Downloading build {}, parts:{} to '{}' ({})", BuildId, BuildPartString.ToView(), Path, NiceBytes(RawSize)); } + Stopwatch IndexTimer; + const ChunkedContentLookup LocalLookup = BuildChunkedContentLookup(LocalState.State.ChunkedContent); const ChunkedContentLookup RemoteLookup = BuildChunkedContentLookup(RemoteContent); + if (!IsQuiet) + { + ZEN_OPERATION_LOG_INFO(Output, "Indexed local and remote content in {}", NiceTimeSpanMs(IndexTimer.GetElapsedTimeMs())); + } + ProgressBar::SetLogOperationProgress(ProgressMode, TaskSteps::Download, TaskSteps::StepCount); BuildsOperationUpdateFolder Updater( |