guodongxiaren commented on issue #1475:
URL: https://github.com/apache/incubator-brpc/issues/1475#issuecomment-889186739
给option的has_builtin_services设置成false就可以关闭,默认是true。
比如:
```cpp
brpc::ServerOptions options;
options.has_builtin_services = false;
if (server.Start(FLAGS_port, &options) != 0) {
LOG(ERROR) << "Fail to start EchoServer";
return -1;
}
```
你可以根据你的系统环境(开发环境、测试环境、生产环境)来指定启用或关闭内置服务。
@serverglen
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]