Skip to content

Commit

Permalink
+1
Browse files Browse the repository at this point in the history
  • Loading branch information
wangbo committed Feb 18, 2024
1 parent 03d387a commit b472ebe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions be/src/vec/exec/scan/scanner_scheduler.h
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,7 @@ class SimplifiedScanScheduler {

Status submit_scan_task(SimplifiedScanTask scan_task) {
if (!_is_stop) {
_scan_thread_pool->submit_func([scan_task] { scan_task.scan_func(); });
return Status::OK();
return _scan_thread_pool->submit_func([scan_task] { scan_task.scan_func(); });
} else {
return Status::InternalError<false>("scanner pool {} is shutdown.", _wg_name);
}
Expand Down

0 comments on commit b472ebe

Please sign in to comment.