Skip to content

Commit

Permalink
COM
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiqiang-hhhh committed Dec 25, 2024
1 parent 102b19c commit ad26051
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions be/src/vec/exec/scan/scanner_scheduler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,7 @@ namespace doris::vectorized {

ScannerScheduler::ScannerScheduler() = default;

ScannerScheduler::~ScannerScheduler() {
if (!_is_init) {
return;
}

_deregister_metrics();
}
ScannerScheduler::~ScannerScheduler() = default;

void ScannerScheduler::stop() {
if (!_is_init) {
Expand Down Expand Up @@ -107,7 +101,6 @@ Status ScannerScheduler::init(ExecEnv* env) {
.set_max_threads(config::doris_scanner_thread_pool_thread_num)
.set_max_queue_size(config::doris_scanner_thread_pool_queue_size)
.build(&_limited_scan_thread_pool));
_register_metrics();
_is_init = true;
return Status::OK();
}
Expand Down

0 comments on commit ad26051

Please sign in to comment.