标签: ruby-on-rails multithreading threadpool delayed-job
我想在delayed_job gem中为具体的队列名限制同时处理的并发进程数,以模拟线程池模式。
我的代码如下所示:
MyProcessor.new.delay(:queue => "myQueue").perform()
我尝试优先考虑,但我无法得到它:
MyProcessor.new.delay(:queue => "myQueue", :priority => incremental_priority).perform()
由于