Limiting the time a query can take


I would like to limit the running time of a created query . For example if the querie runs longer than 5 seconds it stops automatically.

I’ve been testing the “REDASH_ADHOC_QUERY_TIME_LIMIT” env variable, but it doesn’t do the trick.

Thanks for the help!

Technical details:

  • Redash Version: latest
  • Browser/OS: Mac OS
  • How did you install Redash: Self-hosted

I’ve solved it. You need to put it in string form: “5” for 5 seconds.
Tried 5 and 5000 before.

Would be nice if there were a few examples next to it on this page:

1 Like