[PR #742] [CLOSED] Implement reusing redis client #2870

Closed
opened 2026-03-15 21:07:43 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hibiken/asynq/pull/742
Author: @jerbob92
Created: 9/19/2023
Status: Closed

Base: masterHead: feature/implement-reusing-redis-client


📝 Commits (1)

  • 9e548fc Implement reusing redis client

📊 Changes

8 files changed (+184 additions, -50 deletions)

View changed files

📝 client.go (+20 -6)
📝 client_test.go (+20 -5)
📝 inspector.go (+17 -2)
📝 inspector_test.go (+15 -5)
📝 scheduler.go (+18 -4)
📝 scheduler_test.go (+24 -0)
📝 server.go (+30 -15)
📝 server_test.go (+40 -13)

📄 Description

This PR allows you to re-use an existing Redis client with Asynq, this gives you the benifit of less Redis connections and more control over the Redis configuration options since Asynq doesn't provide all the options.


🔄 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/742 **Author:** [@jerbob92](https://github.com/jerbob92) **Created:** 9/19/2023 **Status:** ❌ Closed **Base:** `master` ← **Head:** `feature/implement-reusing-redis-client` --- ### 📝 Commits (1) - [`9e548fc`](https://github.com/hibiken/asynq/commit/9e548fc0978e8d719c447bbb7030c7775d7b6886) Implement reusing redis client ### 📊 Changes **8 files changed** (+184 additions, -50 deletions) <details> <summary>View changed files</summary> 📝 `client.go` (+20 -6) 📝 `client_test.go` (+20 -5) 📝 `inspector.go` (+17 -2) 📝 `inspector_test.go` (+15 -5) 📝 `scheduler.go` (+18 -4) 📝 `scheduler_test.go` (+24 -0) 📝 `server.go` (+30 -15) 📝 `server_test.go` (+40 -13) </details> ### 📄 Description This PR allows you to re-use an existing Redis client with Asynq, this gives you the benifit of less Redis connections and more control over the Redis configuration options since Asynq doesn't provide all the options. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-15 21:07:43 +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#2870
No description provided.