title: What is the default mysql command timeout in Rails?
body: <p>This sounds like a very simple question, but for some reason I couldn't find an answer for it anywhere.</p>
  
  <p>I checked mysql server setting and it looks like there is no such a variable - for commands, it is probably up to a client:</p>
  
  <pre><code>show variables where variable_name like '%timeout%'
  </code></pre>
  
  <p>I'm trying to figure out when active record mysql adapter would timeout a mysql query/command if it ever would.</p>
  
  <p>There are related questions, but not rails-specific: <a href="https://stackoverflow.com/questions/2499603/mysql-command-timeout-error">mysql Command timeout error</a></p>
  
  <p>Thank you.</p>