tluo-github commented on issue #10571:
URL: https://github.com/apache/dubbo/issues/10571#issuecomment-2467822395

   @ningboliu 超过 2 个 timeout 权重直接拉满,是否有问题,体质较差的节点是否会接收到脉冲请求?
   ```
   public double getLoad(String idKey, int weight, int timeout) {
           AdaptiveMetrics metrics = getStatus(idKey);
   
           // If the time more than 2 times, mandatory selected
           if (System.currentTimeMillis() - metrics.pickTime > timeout * 2) {
               return 0;
           }
    }
    ```


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to