Edit this page on our live server and create a PR by running command !create-pr in the console panel

How to work with a RQ task queue system

  • Difficulty level: difficult
  • Time need to lean: 10 minutes or less
  • Key points:

RQ configuration

redis_host

Address of the redis server, default to server address, or localhost if no address is defined. A redis host can be on a different host than the local host, but has to be on the same host as the redis worker.

redis_port

Port of the redis server, default to 6379. Note that this is not the same as option port, which is the port for ssh communication.

queue

Name of the redis queue for the rq worker, if the worker is started with one or more queue names.

Sample RQ configuration

    rq:
        description: rq server with worker
        address: server_url
        queue_type: rq
        redis_host: server_url
        redis_port: 6379
        queue: high
        paths:
            home: /Users/{user_name}