提交 739f8095 编写于 作者: 张乐 提交者: GitHub

Merge pull request #356 from nobodyiam/adjust-long-polling-lb

adjust long polling load balance strategy
...@@ -172,7 +172,7 @@ public class RemoteConfigLongPollService implements Initializable { ...@@ -172,7 +172,7 @@ public class RemoteConfigLongPollService implements Initializable {
} }
//try to load balance //try to load balance
if (random.nextBoolean()) { if (response.getStatusCode() == 304 && random.nextBoolean()) {
lastServiceDto = null; lastServiceDto = null;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册