Commit fc788084 authored by BO ZHANG's avatar BO ZHANG :basketball:
Browse files

fix t_cost

parent 559791e7
Pipeline #2591 failed with stage
in 0 seconds
Showing with 1 addition and 1 deletion
+1 -1
...@@ -196,7 +196,7 @@ class Pipeline: ...@@ -196,7 +196,7 @@ class Pipeline:
output = {"exc_info": exc_info} # default output if exceptions occur output = {"exc_info": exc_info} # default output if exceptions occur
finally: finally:
t_stop: Time = Time.now() 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): if isinstance(status, CsstStatus):
# status is # status is
self.pipeline_logger.info( self.pipeline_logger.info(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment