Shopify / job-iteration

Makes your background jobs interruptible and resumable by design.
https://www.rubydoc.info/gems/job-iteration
MIT License
1.15k stars 45 forks source link

Clarify that the total_time is in seconds #494

Closed ignacio-chiazzo closed 4 months ago

ignacio-chiazzo commented 4 months ago

It wasn't clear to me that the time was in seconds and not ms.

start_time = Time.now.utc.to_f
# ... 
total_time = (Time.now.utc.to_f - start_time).round(6)