Format duration in TSV load complete Slack message #1648
Labels
💻 aspect: code
Concerns the software code in the repository
✨ goal: improvement
Improvement to an existing user-facing feature
good first issue
New-contributor friendly
🟩 priority: low
Low priority and doesn't need to be rushed
Projects
Problem
The TSV load-complete Slack notification (added in WordPress/openverse-catalog#369) reports the duration of the
pull_data
task with nanosecond precision. We don't need quite that much precision! 😄Description
This can be improved by removing some significant digits and formatting the elapsed time in a more readable format, with hours/minutes.
Alternatives
Additional context
Implementation
The text was updated successfully, but these errors were encountered: