mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-26 07:25:56 +03:00
[PR #319] [MERGED] Add IsFailure to Config #1719
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#1719
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/319
Author: @hibiken
Created: 8/30/2021
Status: ✅ Merged
Merged: 9/1/2021
Merged by: @hibiken
Base:
master← Head:feature/isfailure📝 Commits (1)
ee30628Add IsFailure to Config📊 Changes
11 files changed (+246 additions, -35 deletions)
View changed files
📝
CHANGELOG.md(+4 -0)📝
internal/base/base.go(+1 -1)📝
internal/rdb/benchmark_test.go(+1 -1)📝
internal/rdb/rdb.go(+18 -11)📝
internal/rdb/rdb_test.go(+168 -1)📝
internal/testbroker/testbroker.go(+2 -2)📝
processor.go(+16 -8)📝
processor_test.go(+6 -0)📝
recoverer.go(+11 -9)📝
recoverer_test.go(+3 -2)📝
server.go(+16 -0)📄 Description
With this IsFailure config, users can provide a predicate function to
determine whether the error returned from Handler counts as a failure.
Closes #273
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.