mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-26 15:35:55 +03:00
[GH-ISSUE #595] [FEATURE REQUEST] Query tasks from redis #290
Labels
No labels
CLI
bug
designing
documentation
duplicate
enhancement
good first issue
good first issue
help wanted
idea
invalid
investigate
needs-more-info
performance
pr-welcome
pull-request
question
wontfix
work in progress
work in progress
work-around-available
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asynq#290
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @endigma on GitHub (Dec 31, 2022).
Original GitHub issue: https://github.com/hibiken/asynq/issues/595
Originally assigned to: @hibiken on GitHub.
Is your feature request related to a problem? Please describe.
Our app has many tenants and sometimes tasks fail for one reason or another, it would be helpful to allow tenants to see jobs queued for them (emails, etc) and show the status.
Describe the solution you'd like
Method(s) to query tasks from the Redis server.
Describe alternatives you've considered
I looked at just re-implementing the query logic from the cli myself, but this seems like it should be in the main library.
@hibiken commented on GitHub (Jan 2, 2023):
There are a few ways to query tasks based on task's state:
CLI:
asynq task ls --state=RETRY --queue=myqueueProgrammatically
Inspector.ListRetryTasksInspector.ListArchivedTasks, etcAsynqmon UI
Let me know if you are thinking of some other solutions for your use case.
@endigma commented on GitHub (Jan 3, 2023):
I see, where is documentation for
Inspector? only in godoc?