diff options
author | Vijay Pai <vpai@google.com> | 2018-08-14 15:04:35 -0700 |
---|---|---|
committer | Vijay Pai <vpai@google.com> | 2018-08-14 16:23:21 -0700 |
commit | 14ad82a76de99de39460d901cf44767308859ae0 (patch) | |
tree | 5b5651416c040123b77b65cfe978258a347472c3 /include/grpcpp/server.h | |
parent | 8165c4c0aaa0fc020f1c74a67d4e50dff6c5e9b1 (diff) |
Create a new method handler for resource exhaustion and tie into thread mgr
Diffstat (limited to 'include/grpcpp/server.h')
-rw-r--r-- | include/grpcpp/server.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/grpcpp/server.h b/include/grpcpp/server.h index 189d8bec22..72544c0f0b 100644 --- a/include/grpcpp/server.h +++ b/include/grpcpp/server.h @@ -223,6 +223,9 @@ class Server : public ServerInterface, private GrpcLibraryCodegen { std::unique_ptr<HealthCheckServiceInterface> health_check_service_; bool health_check_service_disabled_; + + // A special handler for resource exhausted in sync case + std::unique_ptr<internal::MethodHandler> resource_exhausted_handler_; }; } // namespace grpc |