| 389 | DEFINE_validator(unregistration_thread_pool_size, &ValidatePositiveInt32); |
| 390 | |
| 391 | Status GetConfigFromCommand(const string& flag_cmd, string& result) { |
| 392 | result.clear(); |
| 393 | if (flag_cmd.empty()) return Status::OK(); |
| 394 | if (!RunShellProcess(flag_cmd, &result, true, {"JAVA_TOOL_OPTIONS"})) { |
| 395 | return Status(strings::Substitute("$0 failed with output: '$1'", flag_cmd, result)); |
| 396 | } |
| 397 | return Status::OK(); |
| 398 | } |
| 399 | |
| 400 | Status PopulateThriftBackendGflags(TBackendGflags& cfg) { |
| 401 | cfg.__set_load_catalog_in_background(FLAGS_load_catalog_in_background); |
no test coverage detected