mirror of
https://github.com/hibiken/asynqmon.git
synced 2026-04-27 01:55:51 +03:00
[PR #87] [MERGED] Add redis-url and redis-insecure-tls command line options #169
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asynqmon#169
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/87
Author: @gaffneyc
Created: 4/24/2021
Status: ✅ Merged
Merged: 4/26/2021
Merged by: @hibiken
Base:
master← Head:redis-url📝 Commits (1)
5879945Add redis-url and redis-insecure-tls command line options📊 Changes
2 files changed (+53 additions, -23 deletions)
View changed files
📝
main.go(+52 -22)📝
redis_info_handlers.go(+1 -1)📄 Description
A URL can contain all of the information in the individual flags as a
single string rather than as separate pieces. I've mostly run into URLs
pointing to Redis and this make those existing URLs easier to work with.
This also introduces the -redis-insecure-tls flag which turns off TLS
certificate hostname verification. We've chosen Heroku Redis for a
recent project which requires TLS but, for reasons I don't know, they
don't provide a certificate that is valid for the hostname. I also
wasn't able to get the existing -redis-tls flag to work.
I've left the original flags for backwards compatibility but I also feel they're clunky and should be removed. The new flags use dashes (-) instead of underscores (_) since that's what I'm more use to with other commands in the Linux space. Didn't realize it until I was reviewing it for the PR but happy to change them.
On another note, thanks for Asynq. I spent a long time looking at alternative background job systems in Go and compared to everything else it's really well done and thought out. 🎉
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.