postgresql timeout

Developer from somewhere

Found a really interesting bit of info in this heroku article:

SET statement_timeout TO '30s';

Which would ensure your queries will be timed out after 30 seconds.