Skip to content

Commit a2e3ee4

Browse files
committed
[feat][coordinator] Modify dingo_max_print_html_table up to 3000.
1 parent 8ee8d95 commit a2e3ee4

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/server/table_service.cc

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
#include "gflags/gflags.h"
2525
namespace dingodb {
2626

27-
DEFINE_int32(dingo_max_print_html_table, 2000, "Max number of rows to print html table");
27+
DEFINE_int32(dingo_max_print_html_table, 3000, "Max number of rows to print html table");
28+
BRPC_VALIDATE_GFLAG(dingo_max_print_html_table, brpc::PositiveInteger);
2829

2930
void TableImpl::GetTabInfo(brpc::TabInfoList* info_list) const {
3031
brpc::TabInfo* info = info_list->add();
@@ -64,10 +65,7 @@ void TableImpl::default_method(google::protobuf::RpcController* controller,
6465
<< " .green-text {\n"
6566
<< " color: green;\n"
6667
<< " }\n"
67-
<< " .bold-text {"
68-
<< " font-weight: bold;"
69-
<< " }"
70-
<< "</style>\n";
68+
<< " .bold-text {" << " font-weight: bold;" << " }" << "</style>\n";
7169

7270
os << brpc::TabsHead() << "</head><body>";
7371
server->PrintTabsBody(os, "table");

0 commit comments

Comments
 (0)