app/models/newsletter.rb in kit_cms-2.3.20 vs app/models/newsletter.rb in kit_cms-2.3.22
- old
+ new
@@ -37,10 +37,10 @@
job = NewsletterJob.new
job.send_id = ns.id
job.test_mode = test
- Delayed::Job.enqueue job
+ Delayed::Job.enqueue job, :queue=>sid
self.status = test ? "test" : "sent"
self.save
end