Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add available worker properties #346

Merged
merged 3 commits into from
Sep 4, 2023
Merged

add available worker properties #346

merged 3 commits into from
Sep 4, 2023

Conversation

hd016
Copy link

@hd016 hd016 commented Jun 4, 2020

according the rq documentation a worker have following properties:

  • hostname - the host where this worker is run
  • pid - worker’s process ID
  • queues - queues on which this worker is listening for jobs
  • state - possible states are suspended, started, busy and idle
  • current_job - the job it’s currently executing (if any)
  • last_heartbeat - the last time this worker was seen
  • birth_date - time of worker’s instantiation
  • successful_job_count - number of jobs finished successfully
  • failed_job_count - number of failed jobs processed
  • total_working_time - amount of time spent executing jobs, in seconds

these properties can also be used in the dashboard.

Harun Dalici added 3 commits June 4, 2020 23:36
according the rq documentation a worker have following properties:
* hostname - the host where this worker is run
* pid - worker’s process ID
* queues - queues on which this worker is listening for jobs
* state - possible states are suspended, started, busy and idle
* current_job - the job it’s currently executing (if any)
* last_heartbeat - the last time this worker was seen
* birth_date - time of worker’s instantiation
* successful_job_count - number of jobs finished successfully
* failed_job_count - number of failed jobs processed
* total_working_time - amount of time spent executing jobs, in seconds

these properties can also be used in the dashboard.
@ThomasThelen ThomasThelen mentioned this pull request Jun 19, 2023
@ThomasThelen
Copy link

Steps I used to run

  • virtualenv env
  • source env/bin/activate
  • pip install -r requirements.txt
  • python setup.py develop
  • docker run -d --name redis-stack-server -p 6379:6379 redis/redis-stack-server:latest
  • rq-dashboard

No issue or problems when playing around in the UI. LGTM

@cjlapao cjlapao merged commit 1bfe511 into Parallels:master Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants