This is an automated email from the ASF dual-hosted git repository. wwbmmm pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/brpc.git
The following commit(s) were added to refs/heads/master by this push: new 645cebd2 fix doc && code style (#2089) 645cebd2 is described below commit 645cebd21eca8eefb9fe0d835974ecc039df7a2a Author: caidj <31362185+cdjin...@users.noreply.github.com> AuthorDate: Mon Jan 16 14:27:31 2023 +0800 fix doc && code style (#2089) --- docs/cn/mbvar_c++.md | 2 ++ src/brpc/parallel_channel.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/cn/mbvar_c++.md b/docs/cn/mbvar_c++.md index 4abe2f6b..b7a0d417 100644 --- a/docs/cn/mbvar_c++.md +++ b/docs/cn/mbvar_c++.md @@ -199,6 +199,7 @@ class MVariable { | mbvar_dump_format | common | Dump mbvar write format <br> common:文本格式,Key和Value用冒号分割(和目前的单维度dump文件格式一致) <br><br> prometheus:文本格式,Key和Value用空格分开protobuf:二进制格式,暂时不支持| | bvar_dump_interval | 10 |Seconds between consecutive dump | | mbvar_dump_prefix | \<app\> | Every dumped name starts with this prefix | +| bvar_max_dump_multi_dimension_metric_number | 0 | 最多导出的mbvar的bvar个数,默认是0,即不导出任何mbvar | 用户可在程序启动前加上对应的gflags。 @@ -212,6 +213,7 @@ class MVariable { | mbvar_dump_format | common | Dump mbvar write format <br> common:文本格式,Key和Value用冒号分割(和目前的单维度dump文件格式一致) <br><br> prometheus:文本格式,Key和Value用空格分开protobuf:二进制格式,暂时不支持| | bvar_dump_interval | 10 |Seconds between consecutive dump | | mbvar_dump_prefix | mbvar | Every dumped name starts with this prefix | +| bvar_max_dump_multi_dimension_metric_number | 2000 | 最多导出的mbvar的bvar个数,默认是0,即不导出任何mbvar | 导出的本地文件为monitor/mbvar.\<app\>.data: ``` diff --git a/src/brpc/parallel_channel.h b/src/brpc/parallel_channel.h index 3ee8d58a..aa2739a2 100644 --- a/src/brpc/parallel_channel.h +++ b/src/brpc/parallel_channel.h @@ -94,7 +94,7 @@ struct SubCall { class CallMapper : public SharedObject { public: virtual SubCall Map(int channel_index/*starting from 0*/, - int channel_count, + int channel_count, const google::protobuf::MethodDescriptor* method, const google::protobuf::Message* request, google::protobuf::Message* response) { --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org For additional commands, e-mail: dev-h...@brpc.apache.org