lib/rorvswild.rb in rorvswild-0.1.0 vs lib/rorvswild.rb in rorvswild-0.1.1
- old
+ new
@@ -142,10 +142,10 @@
rescue => exception
job[:error] = exception_to_hash(exception)
raise
ensure
job[:runtime] = (Time.now - started_at) * 1000
- job[:cpu_runtime] = cpu_time - cpu_time_offset
+ job[:cpu_runtime] = (cpu_time - cpu_time_offset) * 1000
post_job
end
def catch_error(extra_details = nil, &block)
begin