How to set a default queue name for all jobs in Rails?
I’m working on a gem for sharing common Rails code between my apps. I just added there a first job and hit a problem - the job from the gem was using default
queue which doesn’t exist. Here’s how I changed all jobs to use a specific queue without using queue_as
or extending ApplicationJob
.
Post a comment