```ruby
Devise::Async.setup do |config|
  if Rails.env.test? || Rails.env.development?
    config.enabled = false
  else
    config.enabled = true
  end
  config.backend = :delayed_job
end```

Use sidekiq as devise async engine
user
```ruby
Devise::Async.setup do |config|
  if Rails.env.test? || Rails.env.development?
    config.enabled = false
  else
    config.enabled = true
  end
  config.backend = :sidekiq
end
```
assistant