[PR #15590] [CLOSED] Allow configuring redis to use unix sockets #14622

Closed
opened 2025-12-29 23:25:34 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/15590
Author: @evlli
Created: 3/30/2024
Status: Closed

Base: developHead: redis-unix-sockets


📝 Commits (1)

  • 886b41a Allow configuring redis to use unix sockets

📊 Changes

2 files changed (+59 additions, -10 deletions)

View changed files

📝 docs/configuration/required-parameters.md (+33 -3)
📝 netbox/netbox/settings.py (+26 -7)

📄 Description

Fixes: #4377

oh well this will get autoclosed anyway because I didn't realize the "please open an issue" was a requirement and not just for larger changes.

This PR was supposed to allow the admin to configure a unix socket for redis - something the underlying libaries already support but was inaccessible due to templating in the settings.py.

I felt this was a very small change and may even be considered a bug since it works just fine with postgres and from what I can tell the intention is for the configuration to diverge as little as possible.


🔄 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/netbox-community/netbox/pull/15590 **Author:** [@evlli](https://github.com/evlli) **Created:** 3/30/2024 **Status:** ❌ Closed **Base:** `develop` ← **Head:** `redis-unix-sockets` --- ### 📝 Commits (1) - [`886b41a`](https://github.com/netbox-community/netbox/commit/886b41a6c1d3056ecd8168f3bd0114f5ba4dff37) Allow configuring redis to use unix sockets ### 📊 Changes **2 files changed** (+59 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `docs/configuration/required-parameters.md` (+33 -3) 📝 `netbox/netbox/settings.py` (+26 -7) </details> ### 📄 Description <!-- Thank you for your interest in contributing to NetBox! Please note that our contribution policy requires that a feature request or bug report be approved and assigned prior to opening a pull request. This helps avoid waste time and effort on a proposed change that we might not be able to accept. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ISSUE WHICH HAS BEEN ASSIGNED TO YOU, IT WILL BE CLOSED AUTOMATICALLY. Please specify your assigned issue number on the line below. --> ### Fixes: #4377 oh well this will get autoclosed anyway because I didn't realize the "please open an issue" was a *requirement* and not just for larger changes. This PR was supposed to allow the admin to configure a unix socket for redis - something the underlying libaries already support but was inaccessible due to templating in the `settings.py`. I felt this was a very small change and may even be considered a bug since it works just fine with postgres and from what I can tell the intention is for the configuration to diverge as little as possible. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 23:25:34 +01:00
adam closed this issue 2025-12-29 23:25:34 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14622