I don't see why this can't be on one line:

```ruby
timeout_sec = options[:query_timeout] ? options[:query_timeout] * 60 : DEFAULT_QUERY_TIMEOUT
```