We have a SQL query that runs for 300 seconds sometimes. This slows down everything, and we would prefer to stop and throw an error after 30 seconds.
In Java, there is a Statement.setQueryTimeout() function where we can set the timeout to 30 seconds.
What is the best way to set this with our CLojure system?
FYI: We are also using honeysql.