google / seesaw

Seesaw v2 is a Linux Virtual Server (LVS) based load balancing platform.
Apache License 2.0
5.63k stars 511 forks source link

Actually retry when RPC send failure happens (#37) #38

Closed unicell closed 6 years ago

unicell commented 6 years ago

This change is to fix the bug that health state update through RPC only called once in "for" loop init statement, which renders retry logic usedless.

unicell commented 6 years ago

No reason for err to be outside the for loop

@baptr Done. Thanks for pointing out.