[PR #637] [CLOSED] Custom payload hasher #803

Closed
opened 2026-03-02 06:05:40 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hibiken/asynq/pull/637
Author: @jpfourny
Created: 4/5/2023
Status: Closed

Base: masterHead: custom-payload-hasher


📝 Commits (5)

  • 668cd76 Rename modules, update to Go 1.20, init workspace, add task metadata
  • a08359b Update Github settings for Go 1.20.x
  • 01af3f5 Fix test cases
  • 4a23e15 Merge pull request #1 from Shopify/task-metadata
  • 5cd86a4 Support 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.

## 📋 Pull Request Information **Original PR:** https://github.com/hibiken/asynq/pull/637 **Author:** [@jpfourny](https://github.com/jpfourny) **Created:** 4/5/2023 **Status:** ❌ Closed **Base:** `master` ← **Head:** `custom-payload-hasher` --- ### 📝 Commits (5) - [`668cd76`](https://github.com/hibiken/asynq/commit/668cd760c669a39302e9e24148a237263d494c5b) Rename modules, update to Go 1.20, init workspace, add task metadata - [`a08359b`](https://github.com/hibiken/asynq/commit/a08359b27115697ab71b3c3978e352bedf80f2e3) Update Github settings for Go 1.20.x - [`01af3f5`](https://github.com/hibiken/asynq/commit/01af3f5fbf412c35154821b141b20c5967ebfdd3) Fix test cases - [`4a23e15`](https://github.com/hibiken/asynq/commit/4a23e155f2d9e388874ecb6dcd3e1cbc71986b75) Merge pull request #1 from Shopify/task-metadata - [`5cd86a4`](https://github.com/hibiken/asynq/commit/5cd86a4ded95fc4ed18e725b3b4fe2ba298e3f28) Support custom payload hasher for computing unique key. ### 📊 Changes **78 files changed** (+1287 additions, -773 deletions) <details> <summary>View changed files</summary> 📝 `.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_ </details> ### 📄 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 06:05:40 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asynq#803
No description provided.