Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added documentation for ActiveJob queue adapter for a specific job. #24635

Merged
merged 1 commit into from
Apr 19, 2016

Conversation

mohitnatoo
Copy link
Contributor

  • Took inspiration from the documentation for per job queue configuration. As Rails now has ability to configure queue adapters on a per job basis, thought I'd add up the documentation for the same.

@rails-bot
Copy link

r? @schneems

(@rails-bot has picked a reviewer for you, use r? to override)

@vipulnsward
Copy link
Member

I think you can also add about subclass maintaining this. Just an example would do.

Please add [ci skip] to the commit message

```

# Now your job will use `resque` as it's backend queue adapter overriding what
# was configured in `config.active_job.queue_adapter`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comments need to be in ruby block, or outside

@mohitnatoo
Copy link
Contributor Author

@vipulnsward made the changes.

@vipulnsward vipulnsward merged commit 5fa9152 into rails:master Apr 19, 2016
@vipulnsward
Copy link
Member

Thanks @mohitnatoo !

[ci skip] Added note on child class maintaining parent's queue adapter.

[ci skip] Added note on child class maintaining parent's queue adapter.

[ci skip] removed documentation for child class inheriting the queue adapter.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants