Skip to content

Commit

Permalink
fix: Keep connection open when navigating away from tab
Browse files Browse the repository at this point in the history
  • Loading branch information
timgl committed Feb 26, 2025
1 parent d301bcb commit 73d8431
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/queries/query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ async function executeQuery<N extends DataNode>(
Accept: 'text/event-stream',
'X-CSRFToken': getCookie('posthog_csrftoken') || '',
},
openWhenHidden: true,
body: JSON.stringify({
query: queryNode,
client_query_id: queryId,
Expand Down

0 comments on commit 73d8431

Please sign in to comment.