Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@subdavis
Copy link
Contributor

@subdavis subdavis commented Jul 5, 2022

Show the size of the job queue to all users.

This is an imperfect solution because when another user in the system creates a job, it won't show up here because User A won't get push notifications about user B's jobs. It will update for changes in User A's job status, but otherwise might require a page reload to be correct.

fixes #1260

Screenshot from 2022-07-05 16-45-32

@subdavis subdavis requested review from BryonLewis and marySalvi July 5, 2022 20:47
Copy link
Collaborator

@BryonLewis BryonLewis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works mostly as intended. I think that the having the number of awaiting jobs may be necessary to indicate that there are X items in the queue currently instead of the currently in progress jobs.

@BryonLewis BryonLewis self-requested a review July 6, 2022 15:01
Copy link
Collaborator

@BryonLewis BryonLewis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@BryonLewis BryonLewis merged commit fa4d64e into main Jul 12, 2022
@BryonLewis BryonLewis deleted the job-queue-size branch July 12, 2022 19:42
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.

Show all users the job queue size.

2 participants