Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: use PingAndWarm request for channel priming #1179

Merged
merged 7 commits into from
Jul 19, 2022
Prev Previous commit
format
  • Loading branch information
mutianf committed Jul 19, 2022
commit cbeb721c1b6d30c9b3a837a33f5287b9bcaa8ed5
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ private void sendPrimeRequests(ManagedChannel managedChannel) throws IOException
try {
stub.pingAndWarmCallable().call(request);
igorbernstein2 marked this conversation as resolved.
Show resolved Hide resolved
} catch (Throwable e) {
mutianf marked this conversation as resolved.
Show resolved Hide resolved
// TODO: Not sure if we should swallow the error here. We are pre-emptively swapping channels if the new
// TODO: Not sure if we should swallow the error here. We are pre-emptively swapping
// channels if the new
// channel is bad.
if (e instanceof ExecutionException) {
e = e.getCause();
Expand Down