-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Queries with Parameter keep running even when page is close #3531
Comments
@itayOW query executions run on the server so query page exit has no affect on it and so this is the expected behavior. |
@itayOW Can you please elaborate: is the issue that query keeps running when page closed, or that query is automatically running when you open page? |
@kravets-levko ,The issue is a combination of both, because when i send a user a link to a heavy (long running time query), i don't know when he is going to open it (maybe in office hours, busy hours) , Thanks! |
When you open a query page, it loads results immediately in two cases:
And, as @ranbena mentioned, queries are executed in background, so when you close page - they're not killed. Both things are expected behavior. If it's an issue for your users - ask them to cancel queries manually before closing page: I'm closing this issue because it's not a bug. If you have any further questions - please continue discussion in previously started topic on forum. Thanks! |
@itayOW if you're afraid users will access your link and see stale results, you can set an auto-refresh schedule so the query stays up to date on its own. |
@ranbena Query page will execute query with parameters regardless, so your advice won't help, sadly... Upd. Oh wait - yes, it may help 👍 |
Issue Summary
Queries with Parameter keep running even when page is close
Steps to Reproduce
Technical details:
The text was updated successfully, but these errors were encountered: