Sha256: ce14da3fd0f5101f0f0670950aefa6aef37c710f164f9d358f8c8971fac2520f
Contents?: true
Size: 337 Bytes
Versions: 7
Compression:
Stored size: 337 Bytes
Contents
module Resque module Integration module Extensions module Worker def queues queues = super shuffle? ? queues.shuffle : queues end def shuffle? return @shuffle if defined?(@shuffle) @shuffle = !ENV['SHUFFLE'].to_s.empty? end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems