Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
liuyehcf committed Oct 31, 2023
1 parent c99872b commit 08cd115
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions be/src/exec/pipeline/query_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ class QueryContext : public std::enable_shared_from_this<QueryContext> {
duration_cast<milliseconds>(steady_clock::now().time_since_epoch() + _query_expire_seconds).count();
}
void set_report_profile() { _is_report_profile = true; }
bool is_report_profile() {
if (_enable_profile) {
bool is_report_profile() {
if (_is_report_profile) {
return true;
}
if (_big_query_profile_threshold_ns <= 0) {
Expand Down

0 comments on commit 08cd115

Please sign in to comment.