```ruby
require 'mini_magick'

MiniMagick.configure do |config|
  config.shell_api = "posix-spawn"
  config.timeout = 300
  config.validate_on_create = false
end
```

Set timeout to 10 minutes and disable validate on write
user
```ruby
require 'mini_magick'

MiniMagick.configure do |config|
  config.shell_api = "posix-spawn"
  config.timeout = 600
  config.validate_on_create = false
  config.validate_on_write = false
  config.logger.level = Logger::DEBUG
end
```
assistant