Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/scollector: Order process identifiers by process creation timestamp. #1110

Merged
merged 1 commit into from
Jun 29, 2015

Conversation

d10v
Copy link
Contributor

@d10v d10v commented Jun 28, 2015

Sort processes by creation time so lower ids are assigned to older processes. Also helps preserve process ids in case scollector restarts.

P.S. Could be made a bit more effective, but complicates code more than necessary.

@d10v d10v changed the title Order process identifiers by process creation timestamp. cmd/scollector: Order process identifiers by process creation timestamp. Jun 28, 2015
@maddyblue
Copy link
Contributor

LGTM. Travis CI build failure is not related to this change.

captncraig added a commit that referenced this pull request Jun 29, 2015
cmd/scollector: Order process identifiers by process creation timestamp.
@captncraig captncraig merged commit 890102e into bosun-monitor:master Jun 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants