mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-26 07:25:56 +03:00
[PR #333] [MERGED] Introduce Task Results #2735
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#2735
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/333
Author: @hibiken
Created: 10/4/2021
Status: ✅ Merged
Merged: 11/5/2021
Merged by: @hibiken
Base:
next← Head:feature/task_result📝 Commits (10+)
3da651fChange TaskMessage.ID type from uuid.UUID to string61833b0Add result_ttl and completed_at fields to TaskMessage40960d6Add ResultTTL option1b8ba80Add CompletedKey and TaskStateCompleted to base packagea4e25cbAdd RDB.MarkAsComplete method4c0bbe2Update processor to handle succeeded message with result_ttl set79c17b9Add RDB.DeleteExpiredCompletedTasks902a34aAdd janitor goroutineb105049Update build workflow configf06404aAdd ResultWriter type📊 Changes
33 files changed (+2099 additions, -846 deletions)
View changed files
📝
.github/workflows/build.yml(+1 -1)📝
CHANGELOG.md(+4 -0)📝
README.md(+1 -1)📝
asynq.go(+76 -12)📝
client.go(+18 -1)📝
client_test.go(+34 -0)📝
go.sum(+25 -0)📝
inspector.go(+83 -23)📝
inspector_test.go(+167 -4)📝
internal/asynqtest/asynqtest.go(+35 -0)📝
internal/base/base.go(+26 -0)📝
internal/base/base_test.go(+35 -16)📝
internal/context/context.go(+1 -1)📝
internal/context/context_test.go(+0 -1)📝
internal/proto/asynq.pb.go(+101 -75)📝
internal/proto/asynq.proto(+10 -1)📝
internal/rdb/inspect.go(+193 -58)📝
internal/rdb/inspect_test.go(+316 -52)📝
internal/rdb/rdb.go(+153 -1)📝
internal/rdb/rdb_test.go(+321 -3)...and 13 more files
📄 Description
Closes #265
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.