mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-25 23:15:51 +03:00
[PR #637] [CLOSED] Custom payload hasher #1815
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#1815
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/637
Author: @jpfourny
Created: 4/5/2023
Status: ❌ Closed
Base:
master← Head:custom-payload-hasher📝 Commits (5)
668cd76Rename modules, update to Go 1.20, init workspace, add task metadataa08359bUpdate Github settings for Go 1.20.x01af3f5Fix test cases4a23e15Merge pull request #1 from Shopify/task-metadata5cd86a4Support custom payload hasher for computing unique key.📊 Changes
78 files changed (+1287 additions, -773 deletions)
View changed files
📝
.github/workflows/benchstat.yml(+3 -3)📝
.github/workflows/build.yml(+2 -2)📝
CHANGELOG.md(+12 -12)📝
CONTRIBUTING.md(+2 -2)📝
Makefile(+2 -2)📝
README.md(+26 -26)📝
aggregator.go(+2 -2)📝
aggregator_test.go(+3 -3)📝
asynq.go(+6 -5)📝
asynq_test.go(+2 -2)📝
benchmark_test.go(+1 -1)📝
client.go(+68 -26)📝
client_test.go(+5 -5)📝
context.go(+8 -1)📝
example_test.go(+1 -1)📝
forwarder.go(+2 -2)📝
forwarder_test.go(+3 -3)📝
go.mod(+20 -12)📝
go.sum(+50 -148)➕
go.work(+7 -0)...and 58 more files
📄 Description
Support custom payload hasher to compute unique key. Used in cases where equivalent payloads are not deterministically serialized to bytes. JSON maps are a good example of this.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.