Commit 669a2b8
fix(cli): include initial connection time in command duration
Fixes bounty issue #1521
The `cortex run` command was starting the timer after the initial connection
and submission were completed, which resulted in underreported duration for
commands, especially when connection setup was slow.
This change moves the timer start to before the submission is sent, ensuring
that the reported duration includes the full end-to-end time.1 parent 7a104aa commit 669a2b8
File tree
2 files changed
+10
-10
lines changed- cortex-cli/src
- cortex-engine/src/tasks
2 files changed
+10
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
532 | 532 | | |
533 | 533 | | |
534 | 534 | | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
535 | 545 | | |
536 | 546 | | |
537 | 547 | | |
| |||
546 | 556 | | |
547 | 557 | | |
548 | 558 | | |
549 | | - | |
550 | | - | |
551 | | - | |
552 | | - | |
553 | | - | |
554 | | - | |
555 | | - | |
556 | | - | |
557 | | - | |
558 | 559 | | |
559 | 560 | | |
560 | 561 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
309 | | - | |
310 | 309 | | |
311 | 310 | | |
312 | 311 | | |
| |||
0 commit comments