Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
Doris-Extras committed Sep 24, 2024
1 parent 56d00b5 commit 03d0fea
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions be/src/runtime/workload_group/workload_group_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ namespace doris {

PausedQuery::PausedQuery(std::shared_ptr<QueryContext> query_ctx, double cache_ratio)
: query_ctx_(query_ctx),
query_id_(print_id(query_ctx->query_id())),
cache_ratio_(cache_ratio) {
cache_ratio_(cache_ratio),
query_id_(print_id(query_ctx->query_id())) {
enqueue_at = std::chrono::system_clock::now();
}

Expand Down Expand Up @@ -349,7 +349,6 @@ void WorkloadGroupMgr::add_paused_query(const std::shared_ptr<QueryContext>& que
*/
void WorkloadGroupMgr::handle_paused_queries() {
std::unique_lock<std::mutex> lock(_paused_queries_lock);
bool has_query_exceed_process_limit = false;
for (auto it = _paused_queries_list.begin(); it != _paused_queries_list.end();) {
auto& queries_list = it->second;
const auto& wg = it->first;
Expand Down

0 comments on commit 03d0fea

Please sign in to comment.