Skip to content

Instantly share code, notes, and snippets.

/*
* Select load balancing node
*/
int select_load_balancing_node(void)
{
int selected_slot;
double total_weight,r;
int i;
/* choose a backend in random manner with weight */
diff --git a/Gemfile.lock b/Gemfile.lock
index 4e67f43..d1be4ef 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -91,10 +91,6 @@ GEM
remote: http://apress:[email protected]/
specs:
aasm (3.0.20)
- abak-yml_parsers (0.0.2)
- activesupport (>= 3.0.0)