This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* 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 */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |