Skip to content

Commit

Permalink
fix(hogql): make EventQuery-s return sync (#18907)
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusandra authored Nov 27, 2023
1 parent fe0783e commit c95b9bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/queries/query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ async function executeQuery<N extends DataNode = DataNode>(
queryId?: string
): Promise<NonNullable<N['response']>> {
const queryAsyncEnabled = Boolean(featureFlagLogic.findMounted()?.values.featureFlags?.[FEATURE_FLAGS.QUERY_ASYNC])
const excludedKinds = ['HogQLMetadata']
const excludedKinds = ['HogQLMetadata', 'EventsQuery']
const queryAsync = queryAsyncEnabled && !excludedKinds.includes(queryNode.kind)
const response = await api.query(queryNode, methodOptions, queryId, refresh, queryAsync)

Expand Down

0 comments on commit c95b9bc

Please sign in to comment.