提交 29c9dcc4 编写于 作者: L Larry Lv

Add doc for setting the queue adapter.

上级 8a055872
......@@ -20,6 +20,13 @@ switch between them without having to rewrite your jobs.
## Usage
Set the queue adapter for Active Job:
``` ruby
ActiveJob::Base.queue_adapter = :inline # default queue adapter
# Adapters currently supported: :resque, :sidekiq, :sucker_punch, :delayed_job
```
Declare a job like so:
```ruby
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册