Skip to content

Conversation

jjb
Copy link
Contributor

@jjb jjb commented Oct 11, 2024

Description

i was making another PR to add another type of stat (busy_threads), and noticed this

it's the heroes like me which keep this project afloat.

Your checklist for this pull request

  • [ x] I have reviewed the guidelines for contributing to this repository.
  • [x ] I have added (or updated) appropriate tests if this PR fixes a bug or adds a feature.
  • [x ] My pull request is 100 lines added/removed or less so that it can be easily reviewed.
  • [x ] If this PR doesn't need tests (docs change), I added [ci skip] to the title of the PR.
  • [ x] If this closes any issues, I have added "Closes #issue" to the PR description or my commit messages.
  • [x ] I have updated the documentation accordingly.
  • [? ] All new and existing tests passed, including Rubocop.

@jjb
Copy link
Contributor Author

jjb commented Oct 11, 2024

/cc @joshuay03 @dentarg

@jjb
Copy link
Contributor Author

jjb commented Oct 11, 2024

#2473

Copy link
Contributor

@schneems schneems left a comment

Choose a reason for hiding this comment

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

Think of all the whitespace bytes we're able to save!

This is more of a style/refactor which I tend do avoid merging due to conflicts. That being said, normalizing this is nicer and this line doesn't see a lot of churn. Thanks, merging!

@schneems schneems merged commit 9712d29 into puma:master Oct 11, 2024
77 checks passed
@jjb jjb deleted the normalize-whitespace-in-worker-stats branch October 11, 2024 21:42
@jjb
Copy link
Contributor Author

jjb commented Oct 11, 2024

i have a DRYification coming up so we don't have to repeat the stat array twice, and this helps that a bit

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

Successfully merging this pull request may close these issues.

3 participants