Commit df4165c7 authored by Jason Song's avatar Jason Song

adjust long polling load balance strategy

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