Redash - How to Set Query Timeout in Redash v10.0

Hi can anyone help us to know, How to Set Query Timeout in Redash v10.0.

Thanks,
Mandar Kulkarni

Hi @jesse ,

Trust you’re doing well!
Can you please help me here ?

We want to set to set Query execution time say 10 mins, after which the query should stop.
Is there any possibility to do so ?

Thanks,
Mandar

Hi buddy.

You can use the REDASH_ADHOC_QUERY_TIME_LIMIT and REDASH_SCHEDULED_QUERY_TIME_LIMIT environment variables.

Environment Variables Settings

1 Like

Hi Doug,

Will I have to add these new environment variables in env settings?
After adding them, how should I use time limit in my queries ?

Thank you so much!

Best regards,
Mandar