Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-pipeline
csst_common
Commits
fc788084
Commit
fc788084
authored
Dec 20, 2023
by
BO ZHANG
🏀
Browse files
fix t_cost
parent
559791e7
Pipeline
#2591
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
csst_common/pipeline.py
View file @
fc788084
...
...
@@ -196,7 +196,7 @@ class Pipeline:
output
=
{
"exc_info"
:
exc_info
}
# default output if exceptions occur
finally
:
t_stop
:
Time
=
Time
.
now
()
t_cost
:
float
=
(
t_stop
-
t_start
).
value
t_cost
:
float
=
(
t_stop
-
t_start
).
value
*
86400
if
isinstance
(
status
,
CsstStatus
):
# status is
self
.
pipeline_logger
.
info
(
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment