Commit df4165c7 by Jason Song

adjust long polling load balance strategy

parent 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% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment