This repository was archived by the owner on Aug 20, 2024. It is now read-only.
This repository was archived by the owner on Aug 20, 2024. It is now read-only.
Number of threads per queue #3
Open
Description
Is it possible to configure the number of workers per queue? I tried the following, but it only started 1 thread:
config[:extensions] = { :worker => { :resque => [{ :thread_count => 10, :thread_priority => 4, # bit bellow NORM (5) 'QUEUES' => %w(twitter flickr), 'INTERVAL' => 2.0, # default is 5.0 'VERBOSE' => true, # verbose logging #'VVERBOSE' => true, # very_verbose logging }, { :thread_count => 1, :thread_priority => 4, # bit bellow NORM (5) 'QUEUES' => %w(recurring), 'INTERVAL' => 2.0, # default is 5.0 'VERBOSE' => true, # verbose logging #'VVERBOSE' => true, # very_verbose logging }] } }
Metadata
Metadata
Assignees
Labels
No labels