mirror of
https://github.com/hibiken/asynqmon.git
synced 2026-04-26 09:35:49 +03:00
[PR #240] [CLOSED] support redis sentinel config#added #983
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asynqmon#983
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/asynqmon/pull/240
Author: @linhbkhn95
Created: 5/3/2022
Status: ❌ Closed
Base:
master← Head:master📝 Commits (1)
ed7766dsupport redis sentinel config📊 Changes
3 files changed (+31 additions, -22 deletions)
View changed files
📝
Makefile(+1 -1)📝
README.md(+12 -7)📝
cmd/asynqmon/main.go(+18 -14)📄 Description
Background
Currently, Redis v8 doesn't support passing Redis sentinels via URL as I know from their code.
So, As the author @hibiken mentioned in https://github.com/hibiken/asynqmon/issues/235 will not perform for Redis sentinels, terminal will show an error as Redis v8 defined
redis: invalid URL scheme redis+sentinelWhy did we need it?
redis-master-nameandredis-addrsto flag orREDIS_MASTER_NAMEandREDIS_ADDSto environmentredis-addrsto detect users who want to use Redis standalone or clusters when do not passredis-master-name, otherwise it will be redis sentinels. So we can deprecateredis-addrandredis-cluster-nodesflag#fixed https://github.com/hibiken/asynqmon/issues/235
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.