Add /servers/surprise endpoint #15
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: friendica/friendica-directory#15
Loading…
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?
This path redirect to a random server registration page.
Current criterion:
((KnownUsers / 100) + 10) * HealthScore
Possibly there should also be some load balancing so that top one is never chosen?
The rules are pretty complicated as it is, but we can exclude the first server from the ten relevant servers before the actual random part happens.
I ended up choosing a server at random among the highest scoring servers with open registration and above 75 health. I forgot about this issue so I didn't incorporate the SSL bit nor the number of known users.
Implemented in
d0102327c0
Closed by
1bbe4d3289