mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-26 07:25:56 +03:00
[PR #81] [MERGED] Add support for cancelation and timeout #2612
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#2612
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?
📋 Pull Request Information
Original PR: https://github.com/hibiken/asynq/pull/81
Author: @hibiken
Created: 2/13/2020
Status: ✅ Merged
Merged: 2/13/2020
Merged by: @hibiken
Base:
master← Head:next📝 Commits (9)
bc97ae1Change Handler interface to take context.Context5780182Send cancellation signal to all in-progress handlers on shutdown379ae88Allow user to specify timeout per taska4ebd4dUpdate docs for context and timeout2e07266Add redis pubsub subscriber for cancelationc41e666Add cancel command to asynqmon clid757b62[ci skip] Update readme and changelogd22253eUse int as priority value type.e3da772[ci skip] Update changelog📊 Changes
24 files changed (+464 additions, -106 deletions)
View changed files
📝
CHANGELOG.md(+10 -0)📝
README.md(+6 -6)📝
background.go(+28 -14)📝
background_test.go(+21 -20)📝
benchmark_test.go(+5 -4)📝
client.go(+19 -6)📝
client_test.go(+27 -0)📝
doc.go(+1 -1)📝
heartbeat_test.go(+2 -2)📝
internal/base/base.go(+57 -2)📝
internal/base/base_test.go(+1 -1)📝
internal/rdb/inspect.go(+2 -2)📝
internal/rdb/inspect_test.go(+12 -12)📝
internal/rdb/rdb.go(+16 -0)📝
internal/rdb/rdb_test.go(+1 -1)📝
processor.go(+40 -13)📝
processor_test.go(+20 -15)📝
scheduler.go(+1 -1)➕
subscriber.go(+58 -0)➕
subscriber_test.go(+57 -0)...and 4 more files
📄 Description
Closes #69
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.