zyearn commented on a change in pull request #592: lb configurable && 
consistency hash lb refactor
URL: https://github.com/apache/incubator-brpc/pull/592#discussion_r272998794
 
 

 ##########
 File path: src/brpc/load_balancer.cpp
 ##########
 @@ -74,6 +80,10 @@ int SharedLoadBalancer::Init(const char* lb_name) {
         return -1;
     }
     _lb = lb_copy;
+    if (!_lb->SetParameters(lb_params)) {
 
 Review comment:
   如果New() 和 SetParameters()一定是成对出现的,意味着它们可以合并吧

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to