Skip to content

Conversation

filipesilva
Copy link
Contributor

Fix #80

elapsed: date - (stat.start * 1000),
timestamp: stat.start * 1000, // start date
elapsed: (stat.uptime * 1000) - (stat.start * 1000), // process uptime minus start time
timestamp: date,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that this should be the uptime of the process in ms since epoch but I'm not sure. @simonepri could you confirm? Thanks!

@codecov-io
Copy link

codecov-io commented Aug 31, 2018

Codecov Report

Merging #83 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #83   +/-   ##
=======================================
  Coverage   90.74%   90.74%           
=======================================
  Files           9        9           
  Lines         335      335           
=======================================
  Hits          304      304           
  Misses         31       31
Impacted Files Coverage Δ
lib/procfile.js 87.5% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e5e2b01...081984a. Read the comment docs.

@soyuka soyuka merged commit 1740a4f into soyuka:master Sep 12, 2018
@soyuka
Copy link
Owner

soyuka commented Sep 12, 2018

Thanks @filipesilva ! I'm going to fix the timestamp.

@soyuka
Copy link
Owner

soyuka commented Sep 12, 2018

Nevermind, this looks consistent between OSes! Thanks for fixing this!

@filipesilva filipesilva deleted the linux-timestamp-elapsed branch September 12, 2018 07:30
@filipesilva
Copy link
Contributor Author

Thanks for merging this!

@soyuka
Copy link
Owner

soyuka commented Sep 12, 2018

published in 2.0.17!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants