Show number of queries in queue while waiting for execution#786
Merged
Show number of queries in queue while waiting for execution#786
Conversation
|
The code looks fine to me, I'll try it out locally as well. Just wondering if maybe we should be opening this up upstream? And perhaps we can add a small test for this. |
Author
|
I'd like to test this out in our deploy for a bit before sending it upstream. I've added a simple test for the API layer. |
jezdez
pushed a commit
that referenced
this pull request
Mar 25, 2019
washort
pushed a commit
that referenced
this pull request
Mar 26, 2019
washort
pushed a commit
that referenced
this pull request
Mar 26, 2019
|
@washort @rafrombrc We never looked at this again since the test-drive, and the code isn't super ideal. |
jezdez
pushed a commit
that referenced
this pull request
May 13, 2019
jezdez
pushed a commit
that referenced
this pull request
May 15, 2019
washort
pushed a commit
that referenced
this pull request
Jun 10, 2019
jezdez
pushed a commit
that referenced
this pull request
Jun 13, 2019
washort
pushed a commit
that referenced
this pull request
Jun 28, 2019
emtwo
pushed a commit
that referenced
this pull request
Jul 15, 2019
emtwo
pushed a commit
that referenced
this pull request
Jul 17, 2019
jezdez
pushed a commit
that referenced
this pull request
Aug 12, 2019
jezdez
pushed a commit
that referenced
this pull request
Aug 14, 2019
jezdez
pushed a commit
that referenced
this pull request
Aug 19, 2019
washort
pushed a commit
that referenced
this pull request
Sep 16, 2019
emtwo
pushed a commit
that referenced
this pull request
Nov 5, 2019
jezdez
pushed a commit
that referenced
this pull request
Jan 16, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This invokes the same API used in the admin "Running Queries" page to ask redis how many jobs are in the 'waiting' state ahead of the current one.
I tested this locally by stopping the celery worker and executing several queries.