mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-26 07:25:56 +03:00
[GH-ISSUE #872] [BUG] The related methods of Inspector basically lack the transmission of ctx #432
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#432
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 @shuqingzai on GitHub (Apr 28, 2024).
Original GitHub issue: https://github.com/hibiken/asynq/issues/872
Originally assigned to: @hibiken on GitHub.
Describe the bug
The Inspector method cannot pass ctx to control the execution of the broker. It should be allowed to enter the parameter ctx.
See:
github.com/hibiken/asynq@2b632b93d5/inspector.gogithub.com/hibiken/asynq@2b632b93d5/inspector.go (L42)github.com/hibiken/asynq@2b632b93d5/inspector.go (L225)@cold-bin commented on GitHub (May 4, 2024):
I think asynq inspector don't need context in function. inspector is only called by asynqmon in order to inspect asynq now. why do you need ctx ?
@shuqingzai commented on GitHub (May 6, 2024):
@cold-bin