-
Notifications
You must be signed in to change notification settings - Fork 8
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
refactored /daemonstatus #32
Conversation
…of pending, running and finished jobs, tested that it shows the actual load
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, great, thank you!
This can be a little more performant and concise. Otherwise, good to go.
…ved node_name to the return statement
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Almost there :)
Not sure why the test is failing now, but would be good to look into. |
Restarted the test, and is fine. Hope this happens too often 👍 |
Ah, good one, about the iterator! Didn't realise it either when reading ⭕ |
Ah, please mention the issue number when opening a PR :) #23 here (And as a sidenote, we could also make a list of just the state, not requiring the whole objects in memory; but I'm not sure if that improves the code (readability), I was happy to merge it as it is.) |
refactored /daemonstatus to contain node_name, status and the number of pending, running and finished jobs, tested that it shows the actual load