README.md in devise-async-0.1.1 vs README.md in devise-async-0.2.0

- old
+ new

@@ -52,19 +52,30 @@ ```ruby # config/initializers/devise_async.rb Devise::Async.mailer = "MyCustomMailer" ``` +### Custom queue + +Let you specify a custom queue where to enqueue your background Devise jobs. Works +only for Resque and Sidekiq. Defaults to :mailer. + +```ruby +# config/initializers/devise_async.rb +Devise::Async.queue = :my_custom_queue +``` + ### Setup via block To avoid repeating `Devise::Async` in the initializer file you can use the block syntax similar do what `Devise` offers. ```ruby # config/initializers/devise_async.rb Devise::Async.setup do |config| config.backend = :resque config.mailer = "MyCustomMailer" + config.queue = :my_custom_queue end ``` ## Contributing