Commit 739f8095 by 张乐 Committed by GitHub

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

adjust long polling load balance strategy
parents 5207858e df4165c7
......@@ -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% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment