[PR #2855] [MERGED] [management] Enforce max conn of 1 for sqlite setups #15719

Closed
opened 2026-08-05 03:08:16 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/2855
Author: @pascal-fischer
Created: 11/7/2024
Status: Merged
Merged: 11/7/2024
Merged by: @pascal-fischer

Base: mainHead: fix/limit-sqlite-open-connection


📝 Commits (2)

  • 3ade46a enforce max conn of 1 for sqlite setups
  • 91430e0 fix log messages

📊 Changes

1 file changed (+9 additions, -1 deletions)

View changed files

📝 management/server/sql_store.go (+9 -1)

📄 Description

Describe your changes

This is needed so that we can migrate to using db locks instead of the in memory locks.

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

🔄 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/netbirdio/netbird/pull/2855 **Author:** [@pascal-fischer](https://github.com/pascal-fischer) **Created:** 11/7/2024 **Status:** ✅ Merged **Merged:** 11/7/2024 **Merged by:** [@pascal-fischer](https://github.com/pascal-fischer) **Base:** `main` ← **Head:** `fix/limit-sqlite-open-connection` --- ### 📝 Commits (2) - [`3ade46a`](https://github.com/netbirdio/netbird/commit/3ade46a6573b8f985779678d52e9c338a6b90155) enforce max conn of 1 for sqlite setups - [`91430e0`](https://github.com/netbirdio/netbird/commit/91430e03293e448b91a88ba7163f6c779807abf9) fix log messages ### 📊 Changes **1 file changed** (+9 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `management/server/sql_store.go` (+9 -1) </details> ### 📄 Description ## Describe your changes This is needed so that we can migrate to using db locks instead of the in memory locks. ## Issue ticket number and link ### Checklist - [ ] Is it a bug fix - [ ] Is a typo/documentation fix - [ ] Is a feature enhancement - [ ] It is a refactor - [ ] Created tests that fail without the change (if possible) - [ ] Extended the README / documentation, if necessary --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 03:08:16 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#15719