Server health score calculation overwrites $max_health if server is dev or rc #53
Labels
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: friendica/friendica-directory#53
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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!