Skip to content

Commit

Permalink
Review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
onkar committed Sep 12, 2024
1 parent ec5078b commit 7260bf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snuba/admin/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ def clickhouse_trace_query() -> Response:
)
)
system_query_result, counter = None, 0
while counter < 60:
while counter < 30:
# There is a race between the trace query and the 'SELECT ProfileEvents...' query. ClickHouse does not immediately
# return the rows for 'SELECT ProfileEvents...' query. To make it return rows, sleep between the query executions.
system_query_result = run_system_query_on_host_with_sql(
Expand Down

0 comments on commit 7260bf1

Please sign in to comment.