aboutsummaryrefslogtreecommitdiffstats
path: root/activejob
diff options
context:
space:
mode:
Diffstat (limited to 'activejob')
-rw-r--r--activejob/CHANGELOG.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/activejob/CHANGELOG.md b/activejob/CHANGELOG.md
index e196b86aa0..c56cb5b1fb 100644
--- a/activejob/CHANGELOG.md
+++ b/activejob/CHANGELOG.md
@@ -80,6 +80,23 @@
*Jeroen van Baarsen*
+* Add ability to configure the queue adapter on a per job basis.
+
+ Now different jobs can have different queue adapters without conflicting with
+ each other.
+
+ Example:
+
+ class EmailJob < ActiveJob::Base
+ self.queue_adapter = :sidekiq
+ end
+
+ class ImageProcessingJob < ActiveJob::Base
+ self.queue_adapter = :delayed_job
+ end
+
+ *tamird*
+
* Add an `:only` option to `perform_enqueued_jobs` to filter jobs based on
type.