提交 df4165c7 编写于 作者: J Jason Song

adjust long polling load balance strategy

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