Skip to content

Commit

Permalink
Update emission/storage/decorations/stats_queries.py
Browse files Browse the repository at this point in the history
Co-authored-by: Jack Greenlee <[email protected]>
  • Loading branch information
TeachMeTW and JGreenlee authored Oct 15, 2024
1 parent 9996707 commit fed4964
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions emission/storage/decorations/stats_queries.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,7 @@ def store_dashboard_time(code_fragment_name: str, timer: ec_timer.Timer):


def store_dashboard_error(code_fragment_name: str, timer: ec_timer.Timer):
# Extract the elapsed time in seconds and convert to milliseconds
elapsed_seconds = timer.elapsed # Access the elapsed time in seconds
elapsed_ms = elapsed_seconds * 1000 # Convert to milliseconds
elapsed_ms = timer.elapsed * 1000

# Get the current timestamp in seconds since epoch
timestamp = time.time()
Expand Down

0 comments on commit fed4964

Please sign in to comment.