[PR #76] [MERGED] Extract redis scripts to top level variables #589

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

📋 Pull Request Information

Original PR: https://github.com/hibiken/asynq/pull/76
Author: @hibiken
Created: 2/9/2020
Status: Merged
Merged: 2/9/2020
Merged by: @hibiken

Base: masterHead: performance/redis-script


📝 Commits (1)

  • 92e990e Avoid creating script struct on every rdb method invocation

📊 Changes

5 files changed (+383 additions, -313 deletions)

View changed files

📝 benchmark_test.go (+56 -2)
📝 internal/rdb/inspect.go (+164 -162)
📝 internal/rdb/rdb.go (+159 -145)
📝 internal/rdb/rdb_test.go (+3 -3)
📝 processor.go (+1 -1)

📄 Description

No description provided


🔄 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/76 **Author:** [@hibiken](https://github.com/hibiken) **Created:** 2/9/2020 **Status:** ✅ Merged **Merged:** 2/9/2020 **Merged by:** [@hibiken](https://github.com/hibiken) **Base:** `master` ← **Head:** `performance/redis-script` --- ### 📝 Commits (1) - [`92e990e`](https://github.com/hibiken/asynq/commit/92e990e4b69b7b7e320c8b191e861aa614af2922) Avoid creating script struct on every rdb method invocation ### 📊 Changes **5 files changed** (+383 additions, -313 deletions) <details> <summary>View changed files</summary> 📝 `benchmark_test.go` (+56 -2) 📝 `internal/rdb/inspect.go` (+164 -162) 📝 `internal/rdb/rdb.go` (+159 -145) 📝 `internal/rdb/rdb_test.go` (+3 -3) 📝 `processor.go` (+1 -1) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 05:54:10 +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#589
No description provided.