mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-25 23:15:51 +03:00
[PR #742] [CLOSED] Implement reusing redis client #2870
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#2870
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/742
Author: @jerbob92
Created: 9/19/2023
Status: ❌ Closed
Base:
master← Head:feature/implement-reusing-redis-client📝 Commits (1)
9e548fcImplement 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.