diff options
| author | Dan Engelbrecht <[email protected]> | 2024-03-25 16:28:42 +0100 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2024-03-25 16:28:42 +0100 |
| commit | a4fbd98e203345059c58012d3569d18a4f64b6bb (patch) | |
| tree | 92ffbaeb42e93b9afcc1d31044b5d0c3bf3632e6 /src/zen/cmds/projectstore_cmd.cpp | |
| parent | use batch request for checking existing blocks as Jupiter is now fixed (#20) (diff) | |
| download | archived-zen-a4fbd98e203345059c58012d3569d18a4f64b6bb.tar.xz archived-zen-a4fbd98e203345059c58012d3569d18a4f64b6bb.zip | |
add a limit to the number of times we attempt to finalize (#22)
- Improvement: Add limit to the number of times we attempt to finalize and exported oplog
- Improvement: Switch to large thread pool when executing oplog export/import
- Improvement: Clean up reporting of missing attachments in oplog export/import
- Improvement: Remove double-reporting of abort reason for oplog export/import
Diffstat (limited to 'src/zen/cmds/projectstore_cmd.cpp')
| -rw-r--r-- | src/zen/cmds/projectstore_cmd.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/zen/cmds/projectstore_cmd.cpp b/src/zen/cmds/projectstore_cmd.cpp index dadab22ec..40ba48137 100644 --- a/src/zen/cmds/projectstore_cmd.cpp +++ b/src/zen/cmds/projectstore_cmd.cpp @@ -140,7 +140,9 @@ namespace { { double QueueTimeS = StatusObject["QueueTimeS"].AsDouble(); double RuntimeS = StatusObject["RunTimeS"].AsDouble(); - ZEN_CONSOLE("Completed: QueueTime: {:.3} s, RunTime: {:.3} s", QueueTimeS, RuntimeS); + ZEN_CONSOLE("Completed: QueueTime: {}, RunTime: {}", + NiceTimeSpanMs(static_cast<uint64_t>(QueueTimeS * 1000.0)), + NiceTimeSpanMs(static_cast<uint64_t>(RuntimeS * 1000.0))); } break; } @@ -160,7 +162,7 @@ namespace { if (Status == "Queued") { double QueueTimeS = StatusObject["QueueTimeS"].AsDouble(); - ZEN_CONSOLE("Queued, waited {:.3} s...", QueueTimeS); + ZEN_CONSOLE("Queued, waited {}...", NiceTimeSpanMs(static_cast<uint64_t>(QueueTimeS * 1000.0))); } uint32_t InterruptCounter = SignalCounter[SIGINT].load(); uint32_t BreakCounter = 0; |