Skip to content
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
@w1150n

Description

@w1150n

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions