Server health score calculation overwrites $max_health if server is dev or rc #53
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: friendica/friendica-directory#53
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In src/Classes/Pollers/Server.php, at lines 370/371 in function computeHealthScore, if server's version is dev or RC, previous settings of $max_health are overwritten with $max_health = 95.
I have "fixed" this with this chunk of very-possibly-an-inefficient-way-of-doing-this:
This looks good, do you want to submit a PR in your name?
I guess I probably should! I'll get on that.
Thank you for forcing me to practice git!
Thank you for your work!