logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

rqworker - Command line monitor to start an RQ worker.

Description

              rqworker  is a command-line monitor to start an RQ worker. It is part of python-rq module package.
              A worker is a Python process that typically runs in the background and exists  solely  as  a  work
              horse to perform lengthy or blocking tasks that you don’t want to perform inside web processes.

Name

       rqworker - Command line monitor to start an RQ worker.

Options

-b, --burst
              Run in burst mode (quit after all work is done)

       --logging_levelTEXT
              Set logging level

       --log-formatTEXT
              Set the format of the logs

       --date-formatTEXT
              Set the date format of the logs

       -n,--nameTEXT
              Specify a different name

       --results-ttlINTEGER
              Default results timeout to be used

       --worker-ttlINTEGER
              Default worker timeout to be used

       --maintenance-interval-ttlINTEGER
              Maintenance task interval (in seconds) to be used

       --job-monitoring-intervalINTEGER
              Default job monitoring interval to be used

       --disable-job-desc-logging
              Turn off description logging.

       -v,--verbose
              Show more output

       -q,--quiet
              Show less output

       --sentry-ca-certsTEXT
              Path to CRT file for Sentry DSN

       --sentry-debugTEXT
              Enable debug

       --sentry-dsnTEXTR
              Report exceptions to this Sentry DSN

       --exception-handlerTEXT
              Exception handler(s) to use

       --pidTEXT
              Write the process ID number to a file at the specified path

       -d,--disable-default-exception-handler
              Disable RQ's default exception handler

       --max-jobsINTEGER
              Maximum number of jobs to execute

       --max-idle-timeINTEGER
              Maximum seconds to stay alive without jobs to execute

       -s,--with-scheduler
              Run worker with scheduler

       -S,--serializerTEXT
              Run worker with custom serializer

       -ds,--dequeue-strategyTEXT
              Sets a custom stratey to dequeue from multiple queues

       -S,--serializerTEXT
              Path to serializer, defaults to rq.serializers.DefaultSerializer

       -P,--pathTEXT
              Specify the import path.

       --connection-classTEXT
              Redis client class to use

       --queue-classTEXT
              RQ Queue class to use

       -j,--job-classTEXTRQ Job class to use

       -w,--worker-classTEXT
              RQ Worker class to use

       -c,--configTEXT
              Module containing RQ settings.

       -u,--urlTEXT
              URL describing Redis connection details.

       --help Show help message and exit.

See Also

rq(1),rqinfo(1),
       Full rq documentation

                                                  User Commands                                      RQWORKER(1)

Synopsis

rqworker[OPTIONS] [QUEUES]...

See Also