Mark that callback generic service is frequently-polled (#25798)

pull/25802/head
Vijay Pai 4 years ago committed by GitHub
parent 8c7c23dfca
commit d3d15395e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/cpp/server/server_builder.cc

@ -304,6 +304,10 @@ std::unique_ptr<grpc::Server> ServerBuilder::BuildAndStart() {
}
}
if (callback_generic_service_ != nullptr) {
has_frequently_polled_cqs = true;
}
const bool is_hybrid_server = has_sync_methods && has_frequently_polled_cqs;
if (has_sync_methods) {

Loading…
Cancel
Save